Bug 67084
Summary: | Investigate the performance of StringBuilder's growing/shrinking policy and optimize | ||
---|---|---|---|
Product: | WebKit | Reporter: | Xianzhu Wang <wangxianzhu> |
Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | ap, barraclough, darin, shinyak, shinyak, sullivan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 66661 |
Xianzhu Wang
For now StringBuilder and Vector have different growing policy.
StringBuilder: no minimum size, grow to double size when needed.
Vector: minimum size is 16, grow 1/4 when needed.
Need to investigate the optimal values for them.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Darin Adler
One of the most important people to cc on bugs like this is Gavin Barraclough, who is the main person at Apple looking at strings and either the author or most recent enhancer of StringBuilder.