Commit d3e20ee6 authored by Vincent Pelletier's avatar Vincent Pelletier

Update performance-related comment to match changes done in revision 16135.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16401 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed9ae1c9
...@@ -1485,9 +1485,8 @@ class Catalog( Folder, ...@@ -1485,9 +1485,8 @@ class Catalog( Folder,
site_root = self.getSiteRoot() site_root = self.getSiteRoot()
# Reminder about optimization: This below calls one or two small SQL # Reminder about optimization: It might be possible to issue just one
# queries for every object. This is extremely inefficient. It is # query to get enought results to check uid & path consistency.
# far more efficient to send one or two queries for all objects.
path_uid_dict = {} path_uid_dict = {}
uid_path_dict = {} uid_path_dict = {}
......
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