[Python-Dev] The decorator module
michele.simionato at gmail.com
Fri May 6 16:41:08 CEST 2005
On 5/6/05, Jim Jewett <jimjjewett at gmail.com> wrote:
> Thank you; this is very good.
> I added a link to it from http://www.python.org/moin/PythonDecoratorLibrary;
> please also consider adding a version number and publishing via PyPI.
Yes, this was in my plans. For the moment, however, this is just version 0.1,
I want to wait a bit before releasing an official release.
> Incidentally, would the resulting functions be a bit faster if you compiled
> the lambda instead of repeatedly eval ing it, or does the eval overhead still
Honestly, I don't care, since "eval" happens only once at decoration time.
There is no "eval" overhead at calling time, so I do not expect to have
problems. I am waiting for volunteers to perform profiling and
performance analysis ;)
More information about the Python-Dev