[EMAIL PROTECTED] writes:
> It must surely be possible to improve this dramatically,
> without a vast amount of effort.
There seem to be two issues:
- the in-memory (or whatever it is) structure eats oodles of memory
- the traversal of that structure is very slow under certain circumstances
I know that select="//*" is an unreasonable task, but a recursive
apply-templates (my test1.xsl) is eminently normal. My larger test
file, with 10000 elements, should not be that big a job. When I ran
it just now with sabcmd --measure, it ran up to 114Mbytes of memory
and then died with a segmentation fault. Using the (Java) Saxon
processor, memory peaked at 39Mbytes
My smaller test, with 23000 elements, ran for 6 seconds and used 29
megabytes. The Java version used 11Mb
Sebastian