Crate oxidd_cache
source ·Expand description
Apply cache implementations
§Feature flags
statistics
— Collect statistics about cache hits etc.direct
(enabled by default) — Enable the direct mapped apply cache implementationstatic_leak_check
— Check that an apply cache is never dropped via itsDrop
implementation. This is done by adding a function call to a non-existing external function to theDrop
implementation. So if the check fails, there will be a weird linker error. Using this feature in unoptimized builds may cause false positives.hugealloc
— Use the hugealloc crate to allocate memoryparking_lot
— Use parking_lot instead of spinlocks
Modules§
- Fixed-size direct mapped apply cache
Traits§
- Trait for generating and printing statistics