[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/common
- UnIndex.py:1.14.6.3
Casey Duncan
casey at zope.com
Fri Apr 23 10:50:26 EDT 2004
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv25935/lib/python/Products/PluginIndexes/common
Modified Files:
Tag: Zope-2_6-branch
UnIndex.py
Log Message:
Backport performace fix for index numObjects(), which should cure the slowness of the Indexes tab for large ZCatalogs
=== Zope/lib/python/Products/PluginIndexes/common/UnIndex.py 1.14.6.2 => 1.14.6.3 ===
--- Zope/lib/python/Products/PluginIndexes/common/UnIndex.py:1.14.6.2 Wed Nov 19 07:23:25 2003
+++ Zope/lib/python/Products/PluginIndexes/common/UnIndex.py Fri Apr 23 10:50:25 2004
@@ -261,7 +261,7 @@
def numObjects(self):
""" return number of indexed objects """
- return len(self._unindex)
+ return len(self)
def unindex_object(self, documentId):
More information about the Zope-Checkins
mailing list