[Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

Lennart Regebro regebro at gmail.com
Tue Feb 28 17:10:20 EST 2006


> But Lennart is right that in this case name should in general never be an
> empty string and in addition  startswith() is in this case 100% slower
> than using slicing.

No, I'm not, Florent is. I just asked. :-)

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope-Dev mailing list