Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2019-08-26
Description
There is a simple optimization opportunity to move, rather than copy, elements when popping them from the deque in the InMemIterator. The value returned from "_data.front()" is copied, and then the original is immediately destructed with a call to "pop_front()", which does not return the element.