Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Query Optimization
-
Fully Compatible
-
(copied to CRM)
Description
In the case an array element added to an interval list, the code sorts the entire output interval list. This sort is redundant for $in since a sort will eventually be done as part of unionize. translateEquality only needs to be concerned with the two elements it is adding and should just place them on the end of the list in order. If it does so it will also be correct for $eq since the two elements will be the only ones in the output list.