Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 1a0f6fa

Browse files
committed
some comments
1 parent c6f80a2 commit 1a0f6fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mdata/cache/accnt/lru.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
)
66

77
type LRU struct {
8-
list *list.List
9-
items map[interface{}]*list.Element
8+
list *list.List // the actual queue in which we move items around to represent their used time
9+
items map[interface{}]*list.Element // to find entries within the LRU so we can move them to the front
1010
}
1111

1212
func NewLRU() *LRU {

0 commit comments

Comments
 (0)