mbenolie / xpath-as3

Automatically exported from code.google.com/p/xpath-as3
0 stars 0 forks source link

Optimizatin for simple numeric predicates #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, if a predicate is just a number, e.g. "a[3]", the expression is
evaluated against every node in the node-set, even though (in this example)
we can just pick the 3rd node.

We can make this a special case to improve efficiency

Original issue reported on code.google.com by peterj...@gmail.com on 3 Dec 2007 at 1:19

GoogleCodeExporter commented 8 years ago

Original comment by peterj...@gmail.com on 11 Dec 2007 at 12:12

GoogleCodeExporter commented 8 years ago
Verifying old bug fixes

Original comment by peterj...@gmail.com on 14 Apr 2009 at 7:10