Bug 12496

Summary: XPathEvaluator doesn't take advantage of its requested result type
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Enhancement CC: ahmad.saleem792, ap
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Alexey Proskuryakov
Reported 2007-01-31 02:19:34 PST
XPathEvaluator.evaluate() has a parameter saying what kind of result to return, some being faster to compute than others. However, our implementation always computes a full snapshot (the slowest) for node-sets, and then converts it to the requested type.
Attachments
Ahmad Saleem
Comment 1 2023-04-25 06:58:25 PDT
@ap - Is this still applicable today?
Alexey Proskuryakov
Comment 2 2023-04-25 08:30:03 PDT
Yes, still applicable.
Note You need to log in before you can comment on or make changes to this bug.