-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Fully Compatible
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
QueryPlannerIXSelect::getFields() performs expensive string creation and concatenation operations. This can be avoided for queries that don't involve $elemMatch as the string returned is the same as stored in the MatchExpression.
Identified as a hotspot by running the Queries.RegexPrefixFindOne mongo-perf test (in read command mode) under VTune.