Re: [Zope] lambda's in external methods

2008-01-16 Thread Andreas Jung
--On 15. Januar 2008 20:21:44 -0700 David Bear [EMAIL PROTECTED] wrote: 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. I don't think that this is very specific to Zope but a general

Re: [Zope] lambda's in external methods

2008-01-16 Thread Dieter Maurer
David Bear wrote at 2008-1-15 20:21 -0700: 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. lambdas

[Zope] lambda's in external methods

2008-01-15 Thread David Bear
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