[Webkit-unassigned] [Bug 19002] New: Optimize id selectors in querySelector/querySelectorAll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 11 20:50:27 PDT 2008


           Summary: Optimize id selectors in querySelector/querySelectorAll
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: catfish.man at gmail.com

>From irc:

othermaciej: Catfish_Man: I am belatedly reading the comments to

I think we could in fact special-case ID selectors in querySelectorAll and

WebKit's internal ID cache not only caches the first match, but it also tracks
whether there are multiple elements with that ID

I think it would be worth doing

So that a single uniform API can consistently give good performance

Configure bugmail: http://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