Skip to content

What are the 'fast' LRU variants?

Alex Peck edited this page Jul 13, 2021 · 9 revisions

Both ConcurrentLru and ConcurrentTLru have fast variants called FastConcurrentLru and FastConcurrentTLru.

Fast variants are functionally identical, but have the hit counting logic eliminated via meta programming to squeeze out the most performance possible. If you don't use the hit count properties, use the fast versions and save some CPU cycles!