Avoid unnecessary copy of input arrays in ExpressionZip::evaluate

XMLWordPrintableJSON

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

      In ExpressionZip::evaluate, evaluated input arrays are stored as std::vector<std::vector<Value>>, which copy-constructs the array contents from each evalExpr.getArray().

       

      Change inputValues to std::vector<Value> and push evalExpr directly, bumping the RCVector ref count instead of copying.

            Assignee:
            Mihai Andrei
            Reporter:
            Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: