Performance impact of using decorators

Diez B. Roggisch deets at nospam.web.de
Fri Mar 10 19:55:30 EST 2006


vinjvinj schrieb:
>>> That sounds like something for the templating engine, and _certainly_ not
>>> for a decorator that otherwise deals with transactions.
> 
> The actual code for the page layout is in a preppy template. But the
> calls to the template engine are made in the
> startTransactrionAndBuildPage decorator

Well, even if it would fit in a decorator - it certainly belongs to its 
_own_ decorator.


Diez



More information about the Python-list mailing list