[webkit-reviews] review requested: [Bug 54103] Implement fast path for matching simple selectors : [Attachment 81885] patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 9 15:36:26 PST 2011
Antti Koivisto <koivisto at iki.fi> has asked for review:
Bug 54103: Implement fast path for matching simple selectors
https://bugs.webkit.org/show_bug.cgi?id=54103
Attachment 81885: patch
https://bugs.webkit.org/attachment.cgi?id=81885&action=review
------- Additional Comments from Antti Koivisto <koivisto at iki.fi>
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).
More information about the webkit-reviews
mailing list