Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Service Arch
-
Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22
Description
We have recently made changes to prefer DatabaseName over std::string when referring to databases throughout the codebase, which has in some cases introduced new allocations. We should introduce a new DatabaseNameView type, mirroring the optimization of using StringData when database names were passed as std::string.
Attachments
Issue Links
- related to
-
SERVER-81569 Improve performance of NamespaceString
-
- In Code Review
-