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

Avoid unnecessary copy for vector of variant in IDL

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2023-11-13, Repl 2023-11-27, Repl 2023-12-11

      Currently in IDL generated code for a vector of variant of multiple complex objects we parse into a temporary object and then emplace back into a vector. This adds the overhead of an extra copy, we should be moving this temporary object instead

            Assignee:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Reporter:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: