Re: Re: Keeping a running total?
> So, how many times will parameter shift be required?
If you say so.
I can conceive of a solution (in another language) where a parameter shift (i.e. remove 'head' from 'queue') bears no greater penalty than incrementing a pointer to the stack. Therefore it follows that your conclusion is implementation-specific.
Not that it really matters to *me* - I prefer XSLT to C or Assembler because of the clarity of expression.
As a manager, I'm more concerned with programmer-performance than program-performance & in the domain where I'm using/recommending this approach, the "factories" are table columns and "quotas" are rowspan attributes, so Fn and Qn are never going to be a concern.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format