Cache index key pattern element lookup by position in planner_access

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Planning
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In buildIndexedAnd and buildIndexedIntervalList, we iterate through the index key pattern BSONObj to find the element at ixtag->pos. This could be cached alongside the tag to avoid repeated iteration.

      See planner_access.cpp:769 and planner_access.cpp:950

            Assignee:
            Unassigned
            Reporter:
            Carlos Alonso Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: