Bug 98266

Summary: Give CSSValueList backing vector an inline capacity.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, darin, macpherson, menard, webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
voctor poch none

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
<rdar://problem/12421425>
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?