-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Storage Execution
AUTO_CAUSES_COPY
Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
/src/mongo/db/ops/write_ops_exec.cpp:2121: AUTO_CAUSES_COPY 135021 Using the "auto" keyword without an "&" causes the copy of an object of type reference_wrapper.
- depends on
-
SERVER-73860 Add performance-unnecessary-copy-initialization clang-tidy check
- Backlog
- is caused by
-
SERVER-73529 Refactor _performTimeseriesWrite code for $out time-series support
- Closed