-
Type:
Technical Debt
-
Resolution: Fixed
-
Priority:
Trivial - P5
-
Affects Version/s: None
-
Component/s: Test Model
-
Storage Engines - Persistence
-
SE Persistence backlog
-
None
Variable copied when it could be moved
Unnecessary object copies can affect performance. Creating a copy of a variable that is no longer used instead of using std::move().
/test/model/src/driver/kv_workload_generator.cpp:644: COPY_INSTEAD_OF_MOVE 178453 "p" is copied and then passed-by-reference as parameter to STL insertion function "push_back", when it could be moved instead.