Bug 100190

Summary: CodeBlock: Give m_putToBaseOperations an inline capacity.
Product: WebKit Reporter: Andreas Kling <kling>
Component: JavaScriptCoreAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: oliver, webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andreas Kling 2012-10-23 21:16:00 PDT
Most of the time, there's only a single entry in this vector put in there by CodeBlock::CodeBlock.
We should give it an inline capacity to avoid unnecessarily growing the vector buffer to 16 on that first append().
Comment 1 Radar WebKit Bug Importer 2012-10-23 21:18:30 PDT
<rdar://problem/12562466>
Comment 2 Andreas Kling 2012-10-23 21:28:53 PDT
Created attachment 170310 [details]
Patch
Comment 3 WebKit Review Bot 2012-10-23 22:10:56 PDT
Comment on attachment 170310 [details]
Patch

Clearing flags on attachment: 170310

Committed r132307: <http://trac.webkit.org/changeset/132307>
Comment 4 WebKit Review Bot 2012-10-23 22:10:59 PDT
All reviewed patches have been landed.  Closing bug.