Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I really want an OnEvict callback.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is lame, but it matches what the C btrfs-progs does.
|
|
|
|
|
|
|
|
|
|
|
|
Go 1.18 added net/netip.Addr.Compare, and Go 1.20 added time.Time.Compare.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And also have the cache consume less memory.
|
|
Save some memory.
|
|
Save some memory.
|
|
|
|
|