{ERP5,ZSQL}Catalog: Wrap all documents at once.
Allows reducing the number of user existence check queries from one per document to one per document batch, reducing database (currently, catalog) latency effect on indexation time. Also, avoid object -> id -> object dance for SQLCatalog instance while at it. Also, modernise syntax a bit, avoiding intermediate locals mostly.
Showing
Please register or sign in to comment