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

stringutils should return StringData instead of std::string

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • None
    • None
    • Fully Compatible
    • Dev Tools 2019-04-08, Dev Tools 2019-04-22

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: