Subject: Re: how to estimate speed of a transformation
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Thu, 11 Dec 2003 14:58:40 +0400 (AMT)
|
> Furthermore store the results of calculations in variables if you need them more often.
Is this advice true? If I need the same 'select' ten (or ten thousand) times in a program,
isn't it just simpler to write that select and let the implementation memoize it?
Its value will not change since the data is the same. Why should I manually
'cache' values if the data model allows to do it consistently and automatically?
David Tolpin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|