Commit c1e1a416 authored by Casey Duncan's avatar Casey Duncan

Small optimization on reindexIndex:

  - Removed unnecessary tuple cast

  - OIBTree.keys() is faster than IOBTree.values()
parent 2639fcb7
......@@ -441,8 +441,7 @@ class ZCatalog(Folder, Persistent, Implicit):
def reindexIndex(self,name,REQUEST):
paths = tuple(self._catalog.paths.values())
paths = self._catalog.uids.keys()
for p in paths:
obj = self.resolve_path(p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment