diff options
author | Adam Cozzette <acozzette@gmail.com> | 2016-09-21 10:39:23 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-10-10 11:43:48 -0700 |
commit | f7bb8477a8e925090a2209097f5fbb62b1f7f919 (patch) | |
tree | ca7fd1494e39e645b4c8f34fdbad60f2640ff9bc /conformance/Makefile.am | |
parent | 31dd4998df27898f61c3f3b32b08cfbbd1fc881f (diff) | |
download | protobuf-f7bb8477a8e925090a2209097f5fbb62b1f7f919.tar.gz protobuf-f7bb8477a8e925090a2209097f5fbb62b1f7f919.tar.bz2 protobuf-f7bb8477a8e925090a2209097f5fbb62b1f7f919.zip |
Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) (#2146)
Currently deserialization of a non-packed binary repeated field is quadratic in
the number of elements, because each time we parse a new element we copy over
all elements we have parsed so far. This CL fixes the performance problem by
having the generated deserialization code just call addX() instead of using
getX() and setX().
Diffstat (limited to 'conformance/Makefile.am')
0 files changed, 0 insertions, 0 deletions