Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
2011.9, 4.6.0-dev
-
None
Description
The current code selects all objects needed from the db, then inflates the data and creates object objects and stores them in the object cache.
It would be smarter to 1st check if any of the objects requested are already in the object cache, and remove their id from the select query, then run the select query, then return an array of mixed objects: the newly infalted ones together with the already-in-cache ones