merits of Lisp vs Python

Christophe chris.cavalaria at free.fr
Mon Dec 11 12:35:58 EST 2006


André Thieme a écrit :
> You don't even need to say   'function
> (memoize function)   would be enough.
> And yes, you can memoize functions while the program is running.
> And you don't need a tool like slime for it. Lisp already offers ways
> for doing that.

In Python while the program is running :

import module
module.function = memoize(module.function)



More information about the Python-list mailing list