Repository navigation
π Zeroevict v0.1.0 β O(1) LFU Cache in Zig
Initial release of zeroevict: a fast and memory-efficient Least Frequently Used (LFU) Cache written in Zig.
Features:
π‘ Constant-time get and put operations.
π§ Frequency-based eviction using linked list buckets.
πͺΆ Minimal dependencies, Zig-native implementation.
π¦ Generic over key and value types (with []const u8 as default).
βοΈ Suitable for systems-level and embedded workloads.
Try it out, file issues, or contribute improvements β this is just the beginning!