Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LFUCache ¶
type LFUCache struct {
// contains filtered or unexported fields
}
LFUCache is a least-frequently-used cache. Every operation runs in O(1) time.
func NewLFUCache ¶
NewLFUCache returns a new instance of LFUCache.
Click to show internal directories.
Click to hide internal directories.