• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      There's a bunch of functions which take copies of NamespaceString objects for no reason, and in the hot path these add up. Use const references instead when it's safe to do so.

       

      See:

      src/mongo/db/curop.h

      src/mongo/db/commands.cpp

      src/mongo/db/op_observer/op_observer_impl.h

            Assignee:
            colin.stolley@mongodb.com Colin Stolley
            Reporter:
            colin.stolley@mongodb.com Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: