Browse Source

Add comments

pull/174/head
chrislusf 10 years ago
parent
commit
85bfab612c
  1. 1
      go/storage/compact_map.go

1
go/storage/compact_map.go

@ -169,6 +169,7 @@ func (cm *CompactMap) binarySearchCompactSection(key Key) int {
return -3
}
// Visit visits all entries or stop if any error when visiting
func (cm *CompactMap) Visit(visit func(NeedleValue) error) error {
for _, cs := range cm.list {
for _, v := range cs.overflow {

Loading…
Cancel
Save