I want to get the object count in a folder (Zope/Plone folder). Doing len(myfolder.objectValues()) will load every object in that folder into memory while all I need is just a count of them. Any better way to do this to avoid unnecessary memory usage?

Thanks! Zhi Min

Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to