Move values inside InMemIterator::next()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2019-08-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Louis Williams
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: