-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce number of lookups in LRU map for updates and invalidations
* Add `find_no_ref` method to `lrucache_map` which returns an iterator to the mapped element iff it exists, and which does _not_ update the LRU ordering. * Collapse 3 LRU map lookups into 1 for cache updates and invalidations for existing mappings. * Rewrite `lrucache_map` tests to use GTest
- Loading branch information
Showing
6 changed files
with
177 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.