Bitcoin Core 28.99.0
P2P Digital Currency
Classes
CuckooCache Namespace Reference

High-performance cache primitives. More...

Classes

class  bit_packed_atomic_flags
 bit_packed_atomic_flags implements a container for garbage collection flags that is only thread unsafe on calls to setup. More...
 
class  cache
 cache implements a cache with properties similar to a cuckoo-set. More...
 

Detailed Description

High-performance cache primitives.

Summary:

  1. bit_packed_atomic_flags is bit-packed atomic flags for garbage collection
  2. cache is a cache which is performant in memory usage and lookup speed. It is lockfree for erase operations. Elements are lazily erased on the next insert.