aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorCharles Munger <clm@google.com>2014-12-28 17:49:06 -0800
committerCharles Munger <clm@google.com>2015-01-07 22:23:54 +0000
commitbcf7a816ad9d435cd4562bdc722fd01100a918d7 (patch)
treee35f9e9302239c7c1add696a73130251a315381b /benchmarks
parent41be9083a4cef078c9a2e209ac99d065b5e71ad0 (diff)
downloadexternal_protobuf-bcf7a816ad9d435cd4562bdc722fd01100a918d7.zip
external_protobuf-bcf7a816ad9d435cd4562bdc722fd01100a918d7.tar.gz
external_protobuf-bcf7a816ad9d435cd4562bdc722fd01100a918d7.tar.bz2
Optimize measurement and serialization of nano protos.
Measuring the serialized size of nano protos is now a zero-alloc operation, and serializing a proto now allocates no memory (other than the output buffer) instead of O(total length of strings). Change-Id: Id5e2ac3bdc4ac56c0bf13d725472da3a00c9baec Signed-off-by: Charles Munger <clm@google.com>
Diffstat (limited to 'benchmarks')
0 files changed, 0 insertions, 0 deletions