lru
Fastest LRU cache
File Explorer
Download Latest Version (.zip)- benchmark.yml
- gcscan.yml
- memory.yml
- test.yml
- bytes_cache.go
- bytes_cache_test.go
- bytes_shard.go
- bytes_shard_list.go
- bytes_shard_table.go
- bytes_shard_test.go
- example_test.go
- go.mod
- LICENSE
- lru_cache.go
- lru_cache_test.go
- lru_hitrate_test.go
- lru_shard.go
- lru_shard_list.go
- lru_shard_table.go
- lru_shard_test.go
- options.go
- README.md
- runtime.go
- singleflight.go
- stats.go
- ttl_cache.go
- ttl_cache_test.go
- ttl_clock.go
- ttl_shard.go
- ttl_shard_list.go
- ttl_shard_table.go
- ttl_shard_test.go
- wyhash.go
- wyhash_test.go
# Installation Guide
1. Get the code
git clone https://github.com/phuslu/lru
Downloads the entire project code from GitHub to your computer.
cd lru
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
// env GODEBUG=gctrace=1 go run gcscan.go phuslu 1000000
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
