summaryrefslogtreecommitdiff
path: root/src/upb_table.c
AgeCommit message (Collapse)Author
2011-02-17First version of an assembly language decoder.Joshua Haberman
It is slower than the C decoder for now because it falls off the fast path too often. But it can successfully decode varints, fixed32 and fixed64.
2011-02-17Split inttable into a hash part and an array part.Joshua Haberman
upb_inttable() now supports a "compact" operation that will decide on an array size and put all entries with small enough keys into the array part for faster lookup. Also exposed the upb_itof_ent structure and put a few useful values there, so they are one fewer pointer chase away.
2011-02-14More completely fixed the 0-key thing.Joshua Haberman
Unfortunately this degrades hash table lookup performance by about 8%, which affects the streaming benchmark for googlemessage1 by about 5%. We could get this back at the cost of some memory, but it would be nice to avoid that.
2011-02-14Remove the restriction that 0 cannot be a table key.Joshua Haberman
This fixes issue: http://code.google.com/p/upb/issues/detail?id=1
2011-02-13Merged core/ and stream/ -> src/. The split wasn't worth it.Joshua Haberman
2010-07-09Split src/ into core/ and stream/.Joshua Haberman
2010-07-07Defined the function for getting a upb_symtab for descriptor.proto.Joshua Haberman
2010-07-03Implemented upb_baredecoder, for bootstrapping.Joshua Haberman
2010-06-09More decoder work, first attempts at compiling it.Joshua Haberman
2010-01-15Remove struct keyword from all types, use typedef instead.Joshua Haberman
2010-01-02upb_string* -> upb_strptr, to follow aliasing rules.Joshua Haberman
2009-12-29Getting closer, only a few functions undefined now.Joshua Haberman
2009-12-23Core compiles, though with warnings, and is still incomplete.Joshua Haberman
2009-12-21In the midst of a major refactoring.Joshua Haberman
2009-11-28Overhaul defs to derive from a common base.Joshua Haberman
2009-08-08Whoops, re-add static to MurmurHash.Joshua Haberman
2009-08-07Major refactoring of upb_msg. Temporary functionality regression.Joshua Haberman
There is significant refactoring here, as well as some more trivial name changes. upb_msg has become upb_msgdef, to reflect the fact that a upb_msg is not *itself* a message, it describes a message. There are other renamings, such as upb_parse_state -> upb_stream_parser. More significantly, the upb_msg class and parser have been refactored to reflect my recent realization about how memory management should work. upb_msg now has no memory management, and a memory mangement scheme (that works beautifully with multiple language runtimes) will be layered on top of it. This iteration has the new, read-only upb_msg. upb_mm_msg (a memory-managed message class) will come in the next change.
2009-07-22Bugfix to upb_table.Joshua Haberman
2009-07-21Properly initialize the fqname member of upb_msg.Joshua Haberman
2009-07-08Bugfix for maintaining the proper count on table resizes.Joshua Haberman
2009-07-08Directory restructuring.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback