diff options
author | Charles Munger <clm@google.com> | 2014-12-28 17:49:06 -0800 |
---|---|---|
committer | Brian Duff <bduff@google.com> | 2015-04-28 12:10:28 -0700 |
commit | 54511f701fae491ccffcfbe03760e8466741d6a6 (patch) | |
tree | 518dffee8bf8362acff952de1f6debafba71acee /java | |
parent | ec2f2445546b3e63e4102c3541d4330e97cef07e (diff) | |
download | protobuf-54511f701fae491ccffcfbe03760e8466741d6a6.tar.gz protobuf-54511f701fae491ccffcfbe03760e8466741d6a6.tar.bz2 protobuf-54511f701fae491ccffcfbe03760e8466741d6a6.zip |
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 'java')
0 files changed, 0 insertions, 0 deletions