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

Remove AutoGetCollection* methods that take std::string namespace

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.2
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      Query 2017-01-23
    • Linked BF Score:
      0

      Description

      The AutoGetCollection* methods that take a std::string for the namespace will then create a NamespaceString object, which is an expensive operation. In many cases we pass a std::string when we already have a NamespaceString or could create a single instance shared across multiple calls.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: