commit | 23f9c59275c839da8e8b94ffe9194c49e66e0bd0 | [log] [tgz] |
---|---|---|
author | Kenton Varda <kenton@cloudflare.com> | Wed Nov 23 12:02:29 2022 -0600 |
committer | Kenton Varda <kenton@cloudflare.com> | Tue Nov 29 10:19:10 2022 -0600 |
tree | 099ce3d999b147275d8f1832b5cd178518da6592 | |
parent | c33e39f46dfe236b12d1258a9acdf78e8235f4a9 [diff] |
Apply data offset for list-of-pointers at access time rather than ListReader creation time. Baking this offset into `ptr` reduced ops needed at access time but made the interpretation of `ptr` inconsistent depending on what type of list was expected.
Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Cap'n Proto is INFINITY TIMES faster than Protocol Buffers.