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

stringutils should return StringData instead of std::string

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Dev Tools 2019-04-08, Dev Tools 2019-04-22

      So allocation/copies can be avoided when not needed. If the user need it to be a string you can always call toString() on the StringData

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: