Several changes to mruset
Including:
-
@gavinandresen's #6066 - Maintain the mru order using iterators rather than copies.
- Use a ring buffer (implemented using a statically allocated vector) rather than a deque for keeping the iterators.
- Replace the mruset unit tests with a single stronger unified one.
This reduces the memory consumption of a maximal setAddrKnown by +- half.