I suppose that lesson should not suprise me, programming is a subtle art that i need spend some time mastering
thanks to all that have replied tom Fredrik Lundh wrote: > 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