Reserve output vector capacity in trivial cases

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-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add calls to `std::vector<T>::reserve` to places where vectors are built on the stack, the elements are inserted by a following loop, and the number of loop iterations can be established easily. No `reserve()` calls are added in places where the loop can be exited prematurely, or where elements are added to the vector only conditionally.

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

              Created:
              Updated:
              Resolved: