Avoid a shared_ptr copy in ConcurrentSkipList::Skipper construction
Summary: Make `Skipper` accept the `shared_ptr` by value, like `Accessor` does, so we can avoid the copy. Also expose the accessor, so after we handed over the `shared_ptr` we can still retain access to the list. Reviewed By: philippv Differential Revision: D29464861 fbshipit-source-id: 75e93f0e72c4b8a2635d25e5e7860f27aec2a0a5
Showing
Please register or sign in to comment