Python Development, memoized functions.
Alec Mihailovs
alec at mihailovs.com
Sat Jan 6 06:51:32 CET 2007
From: "Alec Mihailovs" <alec at mihailovs.com>
> From: "Antti Karttunen" <antti.karttunen at gmail.com>
>>
>> I leave the implementation of practical, robust version of
>> such decorator for somebody more experienced in Python.
>> For a similar thing in Scheme, see the definition of definec macro
>> for example in:
>> http://www.research.att.com/~njas/sequences/a126000.scm.txt
>
> I'm not sure how practical and robust that is, but that could be done as
I posted that on comp.lang.python and Gabriel Genellina
<gagsl-py at yahoo.com.ar> replied with 2 references to such a decorator
already implemented,
http://wiki.python.org/moin/PythonDecoratorLibrary
http://www.phyast.pitt.edu/~micheles/python/documentation.html
Alec
More information about the SeqFan
mailing list