Use list::splice to move lru nodes
Summary: By using `list::splice`, we can avoid making a call to create and delete nodes. By doing so, only internal pointers are reassigned. `list::splice` documentation: https://www.boost.org/doc/libs/1_67_0/doc/html/boost/intrusive/list.html#idp55504432-bb Reviewed By: yfeldblum Differential Revision: D22369091 fbshipit-source-id: efde0f520f81506b96272b320ae9d65ce1cabcb2
Showing
Please register or sign in to comment