Skip to content

Commit

Permalink
Make Cache More Memory Efficient (elastic#77546)
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 4ac3672 commit 9c9bede
Showing 1 changed file with 93 additions and 102 deletions.
Loading

0 comments on commit 9c9bede

Please sign in to comment.