Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Also changes in core library to accommodate.
|
|
This type was nothing but a map of defs.
We can as easily just pass an array of defs
into upb_symtab_add().
|
|
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).
|