[sldev] Re: getting serious about software.

Argent Stonecutter secret.argent at gmail.com
Thu Jun 21 07:51:59 PDT 2007


> * Cache results if they are calculated over and over (if you know that
> at a certain point in time you call the same function with the same
> input a lot you should make it possible for it to return one of the
> recent results).

There are techniques to do this routinely. I think the googlable term  
is "memoization".

http://en.wikipedia.org/wiki/Memoization

And don't forget, "Almost all programming can be viewed as an  
exercise in caching."


More information about the SLDev mailing list