[Home] [By Thread] [By Date] [Recent Entries]
On 7/22/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> For example, to return a sequence of all items but the last [sic: first], > which of the following is better? > > $x[ position() > 1 ] > > or > > remove( $x , 1 ) >
The change was made in some heavily used parts of the stylesheet and although I never benchmarked the difference it was significant enough to stick in my mind - around say 10 seconds on a transform that was taking ~50 seconds at the time. (which now takes around ~1.5secs in the latest version :-) [1] http://andrewjwelch.com/code/xslt/sudoku/sudoku-solver.html -- http://andrewjwelch.com
|

Cart



