Bug 100190 - CodeBlock: Give m_putToBaseOperations an inline capacity.
Summary: CodeBlock: Give m_putToBaseOperations an inline capacity.
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
Keywords: InRadar
Depends on:
Reported: 2012-10-23 21:16 PDT by Andreas Kling
Modified: 2012-10-23 22:10 PDT (History)
3 users (show)

See Also:

Patch (1.48 KB, patch)
2012-10-23 21:28 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-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
Comment 2 Andreas Kling 2012-10-23 21:28:53 PDT
Created attachment 170310 [details]
Comment 3 WebKit Review Bot 2012-10-23 22:10:56 PDT
Comment on attachment 170310 [details]

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.