PluginIndexes.Unindex.query_index
seems to be overly complex and should be refactored
#56
Labels
PluginIndexes.Unindex.query_index
seems to be overly complex and should be refactored
#56
not_param
handlingDo we need this caching at all? How often do we have the same index query (with identical parameters) in the same request?
I propose the following new structure:
None
or a sequence of setslen
(note that determining the size of anIITreeSet
loads all buckets from the ZODB; if this requires real storage accesses, then this length determination can even be more expensive than performing the intersection directly); for "or", the result is the one element sequence of the "multiunion" of the looked up document sets. Cache the intermediate resultThe text was updated successfully, but these errors were encountered: