I wanted to see how much faster brain.getObject() would be if the
returned object was located in a BTreeFolder versus a normal folder so
I wrote a benchmark that created about 10,000 light simple objects in
two distinctly different containers and each with a ZCatalog that has
I would expect the BTreeFolder parenting calls of brain.getObject() to
be much faster but I found that there was NO DIFFERENCE. wtf?!
The benchmark is too messy to share right now but how come this could
have happened? getObject() basically does a
parent.restrictedTraverse(path_splitted[-1]) which should be some sort
of getattr() on the container right?
Is there something obvious I've missed?
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -