[Zope] lambda's in external methods
David.Bear at asu.edu
Tue Jan 15 22:21:44 EST 2008
In the zope 2.7 book it mentions that an optimization technique for
external methods is to compile regular expressions in global scope to
the module. The re's will then be compiled at zope load time.
I am wondering if the same holds for lambdas. I created some simple
filters using lambdas. I defined them in the functions where I use
them. Is there any advantage to defining them globally to the module?
Are there any gottcha's with globally scope objects?
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"
More information about the Zope