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 implementation
  • static_leak_check — Check that an apply cache is never dropped via its Drop implementation. This is done by adding a function call to a non-existing external function to the Drop 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 memory
  • parking_lot — Use parking_lot instead of spinlocks

Modules§

  • Fixed-size direct mapped apply cache

Traits§