We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 608353f commit 1cd86e8Copy full SHA for 1cd86e8
lru.go
@@ -495,6 +495,6 @@ func (lru *LRU[K, V]) dump() {
495
func (lru *LRU[K, V]) PrintStats() {
496
fmt.Printf("Inserts: %d Collisions: %d (%.2f%%) Evictions: %d Removals: %d\n",
497
lru.inserts, lru.collisions,
498
- float64(lru.collisions)/float64(lru.inserts),
+ float64(lru.collisions)/float64(lru.inserts)*100,
499
lru.evictions, lru.removals)
500
}
0 commit comments