ok,
Is the sort element in XSLT depended on how sorted the document are from
the beginning? Like the QuickSort algorithm, when a already sorted array
takes less time to sort then a array thats not?
/Tomas
>
> If i use 8k lines the time will be around 3 seconds and I
> would like it to
> be around 1.5 seconds. Half the time. Maybe its not possible?
>
It sounds do-able. As it happens the New Testament contains 7957 verses;
Saxon can sort them alphabetically in 991 milliseconds. That's a stylesheet
that does nothing except select the verses and sort them. There's really no
tuning you can usefully do to the code of such a stylesheet.
Michael Kay
| Current Thread |
- RE: XSLT sort, (continued)
- Message not available
- Tomas Olsson - Thu, 20 May 2004 21:06:53 +0200
- Michael Kay - Thu, 20 May 2004 22:37:10 +0100
- Message not available
- Tomas Olsson - Fri, 21 May 2004 00:01:40 +0200
- Michael Kay - Fri, 21 May 2004 00:15:42 +0100
- Message not available
- Tomas Olsson - Fri, 21 May 2004 10:43:23 +0200 <=
- Michael Kay - Fri, 21 May 2004 11:06:26 +0100
|
|