[Erp5-report] r16401 - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 17 10:01:54 CEST 2007


Author: vincent
Date: Mon Sep 17 10:01:53 2007
New Revision: 16401

URL: http://svn.erp5.org?rev=16401&view=rev
Log:
Update performance-related comment to match changes done in revision 16135.

Modified:
    erp5/trunk/products/ZSQLCatalog/SQLCatalog.py

Modified: erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SQLCatalog.py?rev=16401&r1=16400&r2=16401&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py Mon Sep 17 10:01:53 2007
@@ -1485,9 +1485,8 @@
 
     site_root = self.getSiteRoot()
 
-    # Reminder about optimization: This below calls one or two small SQL
-    # queries for every object. This is extremely inefficient. It is
-    # far more efficient to send one or two queries for all objects.
+    # Reminder about optimization: It might be possible to issue just one
+    # query to get enought results to check uid & path consistency.
     path_uid_dict = {}
     uid_path_dict = {}
 




More information about the Erp5-report mailing list