Skip to content

Commit

Permalink
Make Cache More Memory Efficient (#77546) (#77648)
Browse files Browse the repository at this point in the history
No need to keep counters per segment when we only use them in aggregate.
Also, removed a few spots of using needless indirection by making
segments reference the cache itself directly and saved a bunch of empty maps
for idle caches on e.g. rarely used indices.
  • Loading branch information
original-brownbear committed Sep 13, 2021
1 parent d7bcd55 commit 299258a
Showing 1 changed file with 93 additions and 102 deletions.

0 comments on commit 299258a

Please sign in to comment.