How to memoize functions?

Aahz aahz at
Fri Jun 27 19:25:25 CEST 2003

In article <roy-95CD9F.12505927062003 at>,
Roy Smith  <roy at> wrote:
>In article <mailman.1056726010.29497.python-list at>,
> sismex01 at wrote:
>> Or, use a shelf instead of a dictionary.
>What's a shelf?

It's a layer on top of a Berkeley database.  See the shelve module docs.
Aahz (aahz at           <*>

Usenet is not a democracy.  It is a weird cross between an anarchy and a

More information about the Python-list mailing list