Open Bug 695313 Opened 9 years ago
Add telemetry probes for finding optimal extra space to reserve in the parser's accumulation buffers
After fixing bug 489820, it would make sense to find out what's the optimal amount of buffer space to allocate on top of the "worst case" size known at the time of allocation (i.e. how much space is going to be likely to be required soonish on top of the "worst case" dictated by the length of the input buffer at hand so that additional reallocations are unlikely before the accumulation buffer empties).
You need to log in before you can comment on or make changes to this bug.