Gabriel Genellina wrote: > This implementation uses cPickle to generate a key from the supplied > function arguments, which is very slow and defeats the purpose of > memoizing.
depends on the cost of recreating an object, of course. it's a bit surprising that so many programmers seem to think that there are "one size fits all" solutions to caching and memoization... </F> -- http://mail.python.org/mailman/listinfo/python-list