memoize

bearophile bearophileHUGS at lycos.com
Tue Jan 4 10:54:29 PST 2011


Nick Sabalausky:

> ...until maxSize is exceeded and the cache is cleared. 

Clearing the whole cache when it's full is a brutal behaviour, I don't like it. See here for something better:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=126059

Bye,
bearophile


More information about the Digitalmars-d mailing list