xsl-list
[Top] [All Lists]

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

2011-02-22 05:44:46
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(_at_)mitre(_dot_)org> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--