Bug 12496
| Summary: | XPathEvaluator doesn't take advantage of its requested result type | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | XML | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Enhancement | CC: | ahmad.saleem792, ap |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Alexey Proskuryakov
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
@ap - Is this still applicable today?
Alexey Proskuryakov
Yes, still applicable.