[Webkit-unassigned] [Bug 54103] Implement fast path for matching simple selectors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 15:36:26 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54103


Antti Koivisto <koivisto at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81885|                            |review?
               Flag|                            |




--- Comment #1 from Antti Koivisto <koivisto at iki.fi>  2011-02-09 15:36:26 PST ---
Created an attachment (id=81885)
 --> (https://bugs.webkit.org/attachment.cgi?id=81885&action=review)
patch

Implement a fast path for single and descendant selectors consisting of id, class and tag selectors only.

Selectors like this are marked on style selector initialization. When  encountered during style matching the are resolved using a fast path. Since selectors like are very common, this speeds up style matching quite a bit (up to 50% on some sites according to Shark).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list