lrucache11
lrucache11 copied to clipboard
Move value on insert
Hi. I was testing the performance on a few LRU cache implementations and noticed that there are a few unnecessary copies. I'll create a pull request to move keys/values where possible.
Also, KeyValuePair can take constructor parameters by value and move them.
@mohaps Any chance to merge this PR?