Summary: | Reduce pointless malloc traffic in ElementRuleCollector. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | CSS | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | kling | ||||
Priority: | P2 | Keywords: | Performance | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Andreas Kling
2015-10-10 11:30:30 PDT
Created attachment 262830 [details]
Patch
Comment on attachment 262830 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262830&action=review > Source/WebCore/css/ElementRuleCollector.h:106 > + Vector<MatchedRule, 32> m_matchedRules; You could bump this a bit too. We surely match more than 32 rules regularly these days. Committed r190842: <http://trac.webkit.org/changeset/190842> |