Re: [xsl] Cheaper to prepend or append an item to a sequence?

Subject: Re: [xsl] Cheaper to prepend or append an item to a sequence?
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Tue, 22 Feb 2011 12:44:36 +0100
XSLT is a functional language. Values of all kind are never changed.

Is it cheaper to create a sequence from an item followed by a sequence
or from a sequence followed by an item?

-W


On 22 February 2011 12:27, Costello, Roger L. <costello@xxxxxxxxx> wrote:
>
> Hi Folks,
>
> When adding an item to a sequence, it is: (circle the correct answer)
>
> (a) Cheaper to add the item to the front of the sequence
>
> (b) Cheaper to add the item to the end of the sequence
>
> (c) Costs the same to add the item to the front or to the end
>
> (d) The cost varies depending on the XSLT processor
>
>
> /Roger

Current Thread