BitFaster.Caching
High-performance thread-safe caching library for .NET applications
All Skills in This Repository (3)
Pure Emerald Level Indicatorssplit-asm
Split BenchmarkDotNet assembly markdown files into per-method files.
bench-fast
Generate assembly output for benchmarks using BenchmarkDotNet's DisassemblyDiagnoser with minimal iterations.
dump-asm
Generate and organize BenchmarkDotNet assembly outputs into branch-scoped baselines.
Frequently Asked Questions
FAQPage SchemaHow to install BitFaster.Caching?โผ
Run `npx skills add bitfaster/BitFaster.Caching --all -g -y` in your terminal to install all skills in this suite globally.
What is the fastest thread-safe cache for .NET?โผ
BitFaster.Caching offers ConcurrentLru and ConcurrentLfu, drop-in replacements for ConcurrentDictionary with bounded size, high throughput, and near-optimal hit rates.
How to prevent cache stampede in .NET?โผ
Use the library's configurable atomic value factory, which ensures only one thread computes a missing value while others wait.
Can AI agents benchmark .NET code changes?โผ
Yes. The included skills let your agent run BenchmarkDotNet benchmarks, dump assembly output, and diff results between git branches.
Does BitFaster.Caching support time-based expiration?โผ
Yes. ConcurrentTLru supports time-based eviction policies such as expire-after-write and expire-after-access.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core