Bug 67084 - Investigate the performance of StringBuilder's growing/shrinking policy and optimize
Summary: Investigate the performance of StringBuilder's growing/shrinking policy and o...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 66661
  Show dependency treegraph
 
Reported: 2011-08-26 21:07 PDT by Xianzhu Wang
Modified: 2011-12-14 23:09 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xianzhu Wang 2011-08-26 21:07:58 PDT
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.
Comment 1 Darin Adler 2011-08-27 12:19:47 PDT
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.