[Webkit-unassigned] [Bug 21052] New: Generalize id selector special case for querySelectorAll
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 24 02:05:46 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21052
Summary: Generalize id selector special case for querySelectorAll
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Enhancement
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: catfish.man at gmail.com
Currently we special case only a raw id selector. Patch forthcoming shortly to
expand this to any selector with an id selector as its rightmost element, at a
small cost in special case speed.
Changes results from:
#title: 2ms
h1#title: 55ms
div #title: 55ms
to:
#title: 1ms (test variance? it shouldn't have sped up...)
h1#title: 2ms
div #title: 5ms
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list