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().pull/2163/head
parent
b9bc9904c2
commit
f81d44fafa
1 changed files with 3 additions and 7 deletions
Loading…
Reference in new issue