Details
-
Sub-task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
Description
There's a bunch of functions which take copies of NamespaceString objects for no reason, and in the hot path these add up. Use const references instead when it's safe to do so.
See:
src/mongo/db/curop.h
src/mongo/db/commands.cpp
src/mongo/db/op_observer/op_observer_impl.h
Attachments
Issue Links
- related to
-
SERVER-75529 Revisit memory layout for TenantId, DatabaseName, and NamespaceString to address performance regression
-
- Closed
-