111 Commits (6e53de4a034e5a2a37f4a893e878fb7fe58adb18)

Author SHA1 Message Date
Joshua Haberman 6e53de4a03 Addressed PR comments. 4 years ago
Joshua Haberman cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 4 years ago
Joshua Haberman 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 4 years ago
Joshua Haberman fa4dfc2baa Addressed PR comments. 4 years ago
Joshua Haberman 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 4 years ago
Joshua Haberman 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 4 years ago
Joshua Haberman 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 4 years ago
Joshua Haberman 3881393907 Renamed .int.h to _internal.h, for greater clarity. 4 years ago
Joshua Haberman 823eb09694 Update all 2011 dates to 2021. 4 years ago
Joshua Haberman e59d2c8fa7 Added license headers to all files. 4 years ago
Joshua Haberman 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 4 years ago
Esun Kim 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 4 years ago
Joshua Haberman 7a54a5f3d6 Split the code generators for .upb and .upbdefs. 4 years ago
Joshua Haberman 65d166a6ba Added API for copy vs. alias and added benchmarks to test both. 4 years ago
Joshua Haberman a01f3e23a4 Fixes for google3 build, and exclude even more tests from macOS to avoid timeout. 4 years ago
Joshua Haberman 154f2c25f4 Added UTF-8 validation for proto3 string fields. 4 years ago
Joshua Haberman e8f9eac68c Added #defines UPB_ENABLE_FASTTABLE and UPB_TRY_ENABLE_FASTTABLE. 4 years ago
Joshua Haberman bd9f8f580d Fixed a few bugs with the fast decoder. 4 years ago
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