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

Make Command::parseNs() more efficient

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.1, 3.5.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2016-12-12
    • 0

      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.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: