3 ms·
> My point is more to do with the fact that BigCache does not handle collisions at all This property makes BigCache what is known as a "Direct-mapped cache"[0]
by malisper 7y ago
> My point is more to do with the fact that BigCache does not handle collisions at all
This property makes BigCache what is known as a "Direct-mapped cache"[0]. A direct mapped cache does lead to a worse cache hit rate, but it does make determining whether there is a cache hit or miss a lot faster. I would need to see benchmarks to tell which is better in practice.
[0] https://en.wikipedia.org/wiki/Cache_placement_policies#Direct-mapped_cache https://en.wikipedia.org/wiki/Cache_placement_policies#Direc...