Subject: Re: Re: Will Saxon 9 optimize or cache this so performance doesn't degrade?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 6 Feb 2013 08:09:31 +0000
|
> What's a memo function?
A function that will always return the same result for the same set of
arguments.
eg if you had a function that added 1 to a number, you can make it a
memo function so the 2nd time it gets called with the same number, it
will return the known previous result from a map, rather than compute
it again.
--
Andrew Welch
http://andrewjwelch.com
|