-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
Service Arch 2022-12-26, Service Arch 2022-09-19, Service Arch 2022-10-03, Service Arch 2022-10-17, Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28, Service Arch 2022-12-12, Service Arch 2023-01-09, Service Arch 2023-01-23, Service Arch 2023-02-06, Service Arch 2023-02-20
We can go a little further than SERVER-66963 by avoiding StringData.toString.
These classes store a std::string data member, so the fast idiom is to accept a std::string by value and std::move it into the data member.
If the caller already has a std::string rvalue, then StringData is a pessimization.
- is related to
-
SERVER-66963 Improve performance of NamespaceString and DatabaseName construction
- Closed