Joshua Haberman
99ae0ed397
Changes to get upb compiling inside Google.
13 years ago
Joshua Haberman
c0a08a6827
Fixes to get upb to compile inside Google.
13 years ago
Joshua Haberman
56f7a345d7
x86 JIT: now works without -NDNDEBUG (also small perf increase).
13 years ago
Joshua Haberman
64e199d18b
Small bugfix for x86->x64 rename.
13 years ago
Joshua Haberman
7d986946b7
Rename x86 -> x64, since JIT is x64-only.
13 years ago
Joshua Haberman
7a0e63ec61
x86 JIT: avoid storing pointer for every field.
13 years ago
Joshua Haberman
7f045f9451
x86 JIT: add easy switch between replicated/common dispatch.
13 years ago
Joshua Haberman
887abe669f
Added an example, constified some more methods.
13 years ago
Joshua Haberman
621c0cdcb5
Const invasion: large parts of upb made const-correct.
13 years ago
Joshua Haberman
4a8b9be46c
Header cleanup, clarify/correct comments for interfaces.
13 years ago
Joshua Haberman
8eb2b2a216
Revised upb_bytesink, refactored upb_textprinter (untested).
13 years ago
Joshua Haberman
521ac7a89a
Refined upb_status.
13 years ago
Joshua Haberman
48fedab345
Add packed field support (untested).
13 years ago
Joshua Haberman
adb6580d97
Let the JIT emit hasbit-setting code in addition to calling a callback.
...
This leads to a major (20-40%) improvement in the parsetoproto2
benchmark with small messages. We now are faster than proto2 in all
apples-to-apples comparisons, at least given the (admittedly
limited) set of benchmarks in this source tree.
13 years ago
Joshua Haberman
a5e6a7b029
Fix stack alignment on OS X.
13 years ago
Joshua Haberman
8bdc6d233e
Prime the decoder buf for modest perf improvement on small messages.
13 years ago
Joshua Haberman
d5324d1d5c
Some Makefile cleanup.
13 years ago
Joshua Haberman
7935b702c5
More cleanup.
13 years ago
Joshua Haberman
282b34529f
Some source cleanup/commenting.
13 years ago
Josh Haberman
3387ccaffd
Avoid longjmp() in successful case.
...
Speeds up short messages by 15-25%.
13 years ago
Joshua Haberman
06b8181f97
Benchmark to parse into proto2 messages.
13 years ago
Joshua Haberman
40f271b854
x86 JIT: add callback specializations for a 10% speedup when parsing to struct.
13 years ago
Joshua Haberman
6981e468a3
More work on Lua extension, and consequent core refactoring.
14 years ago
Joshua Haberman
57abebaaf9
Fixed "make descriptorgen".
14 years ago
Joshua Haberman
92b4c38fa5
Added comment about how to disassemble JIT output.
14 years ago
Joshua Haberman
daf36f0747
Get rid of upb_symtabtxn.
...
This type was nothing but a map of defs.
We can as easily just pass an array of defs
into upb_symtab_add().
14 years ago
Joshua Haberman
10265aa56b
Directory restructure.
...
Includes are now via upb/foo.h.
Files specific to the protobuf format are
now in upb/pb (the core library is concerned
with message definitions, handlers, and
byte streams, but knows nothing about any
particular serializationf format).
14 years ago