-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uses atomics for read-only accounts cache entry index
Using atomics for entry indices allows load to use self.cache.get instead of get_mut which reduces lock contention on the respective dash-map shard.
- Loading branch information
1 parent
6eea38d
commit d67a383
Showing
1 changed file
with
28 additions
and
8 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