Bug 98266 - Give CSSValueList backing vector an inline capacity.
Summary: Give CSSValueList backing vector an inline capacity.
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
Keywords: InRadar
Depends on:
Reported: 2012-10-03 07:39 PDT by Andreas Kling
Modified: 2012-10-03 20:37 PDT (History)
6 users (show)

See Also:

voctor poch (1.46 KB, patch)
2012-10-03 07:58 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2012-10-03 07:39:04 PDT
The vast majority of CSSValueLists will have 1 or more items, effectively making the initial capacity a heap-allocated 16 items (default behavior.)
Comment 1 Radar WebKit Bug Importer 2012-10-03 07:46:40 PDT
Comment 2 Andreas Kling 2012-10-03 07:58:41 PDT
Created attachment 166894 [details]
voctor poch
Comment 3 WebKit Review Bot 2012-10-03 08:38:56 PDT
Comment on attachment 166894 [details]
voctor poch

Clearing flags on attachment: 166894

Committed r130292: <http://trac.webkit.org/changeset/130292>
Comment 4 WebKit Review Bot 2012-10-03 08:38:59 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Darin Adler 2012-10-03 20:37:39 PDT
How did you chose 4 over 1?