Joshua Haberman
|
c7ee14f8ef
|
Moved bounds check to the end of the loop to increase performance.
|
16 years ago |
Joshua Haberman
|
c208db0752
|
Pre-compute the hash table mask to avoid doing it in the critical path.
|
16 years ago |
Joshua Haberman
|
797bd11247
|
Made benchmark test proto2 also.
|
16 years ago |
Joshua Haberman
|
b2bbafb674
|
Header file changes for C++ compatibility.
|
16 years ago |
Joshua Haberman
|
d7b666ecf4
|
Remove branch prediction hints. They seem to hurt more than help.
|
16 years ago |
Joshua Haberman
|
9c88385ba4
|
Fixed a logic bug in non-merging cases.
|
16 years ago |
Joshua Haberman
|
127adf4036
|
More work on the benchmark.
|
16 years ago |
Joshua Haberman
|
137991c7b2
|
Added the beginnings of a benchmark.
|
16 years ago |
Joshua Haberman
|
34fe50818d
|
Removed minimum table size, reduces memory footprint.
|
16 years ago |
Joshua Haberman
|
d7fc64ab66
|
Fixes for groups and 32-bit varints.
|
16 years ago |
Joshua Haberman
|
ec2da8e59d
|
More documentation and fixed check_wire_type.
|
16 years ago |
Joshua Haberman
|
5bfef1bc8e
|
Added a little note for upb_parse.
|
16 years ago |
Joshua Haberman
|
b94a9f2101
|
More documentation, tidying up, etc.
|
16 years ago |
Joshua Haberman
|
5235966ed5
|
Lots of documentation, cleanup, and fixed memory leaks.
|
16 years ago |
Joshua Haberman
|
dd2094537a
|
Compiler now generates correct header files (with structures alone).
|
16 years ago |
Joshua Haberman
|
907e3d7cd2
|
More compiler work.
|
16 years ago |
Joshua Haberman
|
06efc6b12c
|
Fixed a lot of bugs, parser and compiler now work a little!
|
16 years ago |
Joshua Haberman
|
7f871401c7
|
More work on upbc.
|
16 years ago |
Joshua Haberman
|
421f276086
|
Beginnings of a upb compiler.
|
16 years ago |
Joshua Haberman
|
94a2f5bd9c
|
Move upb_string into its own header file.
|
16 years ago |
Joshua Haberman
|
aecbfe4224
|
Moved upb_enum to a proper C file, updated upb_inlinedefs.
|
16 years ago |
Joshua Haberman
|
62be5969a1
|
Move FileDescriptorProto to an internal symbol table.
|
16 years ago |
Joshua Haberman
|
9eaab71e99
|
Fixed bugs and memory leaks.
|
16 years ago |
Joshua Haberman
|
485b964662
|
Bugfixes.
|
16 years ago |
Joshua Haberman
|
2c5c3fdc25
|
More tests and fixes.
|
16 years ago |
Joshua Haberman
|
b0ef7f0b67
|
More fixes, completions, still doesn't quite work.
|
16 years ago |
Joshua Haberman
|
b8481e0e55
|
A bit more work on generalizing parsing.
|
16 years ago |
Joshua Haberman
|
6fdf83f59f
|
Let gcc do dependency generation.
|
16 years ago |
Joshua Haberman
|
692b203ae2
|
Functions for iterating over the symbol table.
|
16 years ago |
Joshua Haberman
|
fd1ad20a2d
|
Remove public visibility from a few parsing functions.
|
16 years ago |
Joshua Haberman
|
c21ad57da6
|
More work to msg and parse. Getting close!
|
16 years ago |
Joshua Haberman
|
f813688f3e
|
Major revision to upb_parse.
|
16 years ago |
Joshua Haberman
|
9fcddef19f
|
Updated comment to reflect code change.
|
16 years ago |
Joshua Haberman
|
2d21601d47
|
Reworked low-level parsing: smaller, safer.
|
16 years ago |
Joshua Haberman
|
5e2691460e
|
Ditch abbreviated field business.
|
16 years ago |
Joshua Haberman
|
03616c86ea
|
Fixed test_table and a few bugs in upb_table.
|
16 years ago |
Joshua Haberman
|
01fb1d45ed
|
Stubbed out a few more methods in _msg and _context.
|
16 years ago |
Joshua Haberman
|
1139650320
|
Use "static inline" instead of "extern inline" for now.
|
16 years ago |
Joshua Haberman
|
2da3b081c4
|
More work on upb_context.
|
16 years ago |
Joshua Haberman
|
3a67a1e9f9
|
upb_msg constructor now more or less works.
|
16 years ago |
Joshua Haberman
|
c7f2a271ae
|
Small improvement to bitmasking that generates better code.
|
16 years ago |
Joshua Haberman
|
88cc3f2fc8
|
Progress implementing upb_msg.
|
16 years ago |
Joshua Haberman
|
ec67a5ded6
|
Implemented a bit more of upb_context.
|
16 years ago |
Joshua Haberman
|
9595dfa2dc
|
Fleshed out upb_context some.
|
16 years ago |
Joshua Haberman
|
edd137fe99
|
Two small fixes.
|
16 years ago |
Joshua Haberman
|
b11730f2ed
|
Added a upb_context object, which is like an interpreter context.
|
16 years ago |
Joshua Haberman
|
f8f689ad31
|
Add upb_inlinedefs.c, which emits definitions for inline functions.
|
16 years ago |
Joshua Haberman
|
0f26f51486
|
Fix varint-skipping (oops).
|
16 years ago |
Joshua Haberman
|
324d5cce9b
|
Renamed upb_struct -> upb_msg, fleshed out its definition.
|
16 years ago |
Joshua Haberman
|
7ccb32c305
|
Finished hashtable implementation, not yet tested.
|
16 years ago |