Avoid unnecessary array copies

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Query Execution
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-08-03, QE 2026-08-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      `Value::getArray()` returns a const reference to the underlying `std::vector<Value>`. Binding the return value by value creates a full copy of the vector, which sometimes is necessary but sometimes is not. This change modifies a few obvious call sites to bind the return value by const reference, so that the array is not copied.

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

              Created:
              Updated:
              Resolved: