mirror of
https://github.com/octoleo/restic.git
synced 2024-11-30 00:33:57 +00:00
e5d597fd22
The new genericized LRU cache no longer needs to have the IDs separately allocated: name old time/op new time/op delta Add-8 494ns ± 2% 388ns ± 2% -21.46% (p=0.000 n=10+9) name old alloc/op new alloc/op delta Add-8 176B ± 0% 152B ± 0% -13.64% (p=0.000 n=10+10) name old allocs/op new allocs/op delta Add-8 5.00 ± 0% 3.00 ± 0% -40.00% (p=0.000 n=10+10) |
||
---|---|---|
.. | ||
cache_test.go | ||
cache.go |