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

Avoid making copies of the vector in TargetedWriteBatch::getWrites()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-01-10
    • 20

      we can just return the vector of the unique pointers instead of making a new copy of a vector of raw pointers.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: