Projection optimizations

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Query Execution
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-05-25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This PR optimizes projection execution by reducing repeated lookups and caching projection metadata used during document transformation.

      Changes:

      • Replaces optional `_maxFieldsToProject` caching with an unlimited sentinel value.
      • Reuses precomputed string hashes in standard and fast-path projection loops, with new correctness tests.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: