[Zope-dev] New IOBTrees have no 'map' method

Chris McDonough chrism@digicool.com
Fri, 11 May 2001 09:24:36 -0400


Chris Withers wrote:
> 
> Chris McDonough wrote:
> >
> > Untested...
> >
> > return map(lambda x, data=self.data, self=self: data[x].__of__(self),
> > ids)
> 
> ah, I see :-)
> 
> Would that be faster than my little function?

Probably not appreciably... unless it is, of course. ;-)  It depends how
many things you're iterating over.  Might even be slower... it'd require
testing and its probably not worth it.

- C