Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103521

Rewrite of helper function in stage builder causes regression

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2025-04-14
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Introducing a makeLet helper function that accepts a vector of expressions to be bound to variables is requiring more time to compile long expressions. Both the flame graph and the debugger show that the inline creation of a vector is triggering the copy constructor of the ABT node (even if the node is inside a std::move)

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: