DescriptionSerializedScriptValue's Writer calls realloc a lot
Currently SerializedScriptValue's Writer is resizing its StringBuffer to the
exact size it needs for every object it writes into the buffer. Instead, it
should grow the buffer exponentially to avoid calling realloc so many times.
This CL fixes a regression from Blink@155225. I've also removed a call to
isolatedCopy which is unnecessary.
R=jsbell@chromium.org
BUG=266837
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157388
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|