Bug 12496 - XPathEvaluator doesn't take advantage of its requested result type
Summary: XPathEvaluator doesn't take advantage of its requested result type
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 02:19 PST by Alexey Proskuryakov
Modified: 2023-04-25 08:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 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.
Comment 1 Ahmad Saleem 2023-04-25 06:58:25 PDT
@ap - Is this still applicable today?
Comment 2 Alexey Proskuryakov 2023-04-25 08:30:03 PDT
Yes, still applicable.