200 Commits (eb66ab601f249e8dd2c9c8b23a121d6986830df2)

Author SHA1 Message Date
Joshua Haberman 3eba47914b Allocate hasbits and table slots in "hotness" order. 4 years ago
Joshua Haberman 021db6fcd5 Allow larger tags into the table if they are unique mod 31. 4 years ago
Joshua Haberman 86d9908c55 Fastdecode support for packed fields. 4 years ago
Joshua Haberman e3e797b680 Added fasttable support for oneofs. 4 years ago
Joshua Haberman e2c709e047 Repeated string and primitive support. 4 years ago
Joshua Haberman a345af9883 Added a codegen parameter for whether fasttables are generated or not. 4 years ago
Joshua Haberman 2c1664906a Removed license comments and upb_amalgamation for google3. 4 years ago
Joshua Haberman b7dc77415a Added licenses() to all BUILD files. 4 years ago
Joshua Haberman e3f41de6c7 Split monolithic BUILD file into many build files. 4 years ago
gerben-s 9e68ec033f Add repeated varints and fixed parsers 4 years ago
Joshua Haberman b9f1b67d07 Use quoted include. 4 years ago
Joshua Haberman 1c8c16b9b1 Use quoted include. 4 years ago
Joshua Haberman c81113e60f Added fallback code for when no enum matches. 4 years ago
Joshua Haberman ded2e657a7 Added compatibility with old generated code. 4 years ago
Joshua Haberman 75edd3e59c Changed to use table pairs, seems to ever-so-slightly regress. 4 years ago
Joshua Haberman bca7edac8c Cleaned up table compression a bit. 4 years ago
Joshua Haberman a6dc88556d Tables are compressed, but perf goes down to 2.44GB/s. 4 years ago
Joshua Haberman a4966fd230 Added a few extra sanity checks. 4 years ago
Joshua Haberman 99acbe0da8 Fixed bug where submsg array could have excess elements. 4 years ago
Gerben Stavenga 3f719fa6b2 Bugfix: offsetting hasbits with 16 introduced a bug in calculating 4 years ago
Gerben Stavenga 4053805759 Bugfixes 4 years ago
Joshua Haberman 71749b7caf Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Joshua Haberman 9557b97acc Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Gerben Stavenga 36662b3735 Refactor some code. I extracted some common code from all message field 4 years ago
Joshua Haberman 9938cf8f27 Put submsg_index directly in table data. Drop oneof support for now to focus. 4 years ago
Joshua Haberman 526e430794 I think this may have reached the optimization limit. 4 years ago
Joshua Haberman 52a0ed3891 Fixed a bug with tag number 15. 4 years ago
Joshua Haberman 9e5c5ce089 Optimized memset() with cutoff and fixed group & unknown message bugs. 4 years ago
Joshua Haberman 88b1ec7784 Table-driven supports repeated sub-messages. 4 years ago
Joshua Haberman f173642db4 Handle non-repeated submessages. 4 years ago
Joshua Haberman 7ec2c52346 Donate/steal from arena to accelerate decoding. 4 years ago
Joshua Haberman fac992db83 Cleanup for showing. 4 years ago
Joshua Haberman 438ecaeb5a Give all field parsers a generic table entry. 4 years ago
Joshua Haberman a77ea639d5 Verify UTF-8 when parsing proto3 string fields. 4 years ago
Joshua Haberman 8f11ec57d2 Applied changes from google3. 5 years ago
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 634d37515c Bugfix for oneofs and added line/col info to JSON. 5 years ago
Joshua Haberman 543a0ce8f2
Fixes for PHP. (#286) 5 years ago
Joshua Haberman 0842f88211
Support for proto3 optional. (#270) 5 years ago
Joshua Haberman 38a1045975
Added a has_foo() generated method for proto3 submessage fields. (#266) 5 years ago
Joshua Haberman 378cbbc3cc
Updated to new protobuf version, and added support for packed=false. (#264) 5 years ago
Joshua Haberman 08b6d2d6fd
Rewrite of the decoder (#263) 5 years ago
Joshua Haberman b409f8cd85 Fixed code generator for upbdefs when a file has no messages. 5 years ago
Joshua Haberman ca512852f3
Fixed parsing for string->double maps. (#243) 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 5 years ago
Joshua Haberman 382f92a87f Maps encode and decode successfully! 5 years ago
Joshua Haberman 4c57b1fefd More progress on Lua extension. 5 years ago
Joshua Haberman 5239655b99 WIP. 5 years ago
Joshua Haberman 23825332e1 WIP. 5 years ago
Joshua Haberman dc58b657ee New reflection API doesn't need types as parameters for map/array. 5 years ago