-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Atlas Streams
-
Fully Compatible
-
ALL
-
Sprint 49
COPY_INSTEAD_OF_MOVE
Unnecessary object copies can affect performance. Creating a copy of a variable that is no longer used instead of using std::move().
/src/mongo/db/modules/enterprise/src/streams/exec/planner.cpp:1485: COPY_INSTEAD_OF_MOVE 155583 "windowStageSpec" is passed-by-value as parameter to "operator ()" when it could be moved instead.
/src/mongo/db/exec/document_value/document.h:137: COPY_INSTEAD_OF_MOVE 155583 Type "mongo::Document" is move-constructible.