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

Make Command::parseNs() more efficient

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.1, 3.5.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      Query 2016-12-12
    • Linked BF Score:
      0

      Description

      Command::parseNs() creates several string objects. This can be made more efficient by creating and returning a single string using str::stream().

      We should also remove the "#if defined(CLC)" as use of the CLC definition for debugging was removed from the server under SERVER-4328.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: