Performance impact of using decorators

Diez B. Roggisch deets at nospam.web.de
Sat Mar 11 01:55:30 CET 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