Add comments
This commit is contained in:
@@ -169,6 +169,7 @@ func (cm *CompactMap) binarySearchCompactSection(key Key) int {
|
|||||||
return -3
|
return -3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Visit visits all entries or stop if any error when visiting
|
||||||
func (cm *CompactMap) Visit(visit func(NeedleValue) error) error {
|
func (cm *CompactMap) Visit(visit func(NeedleValue) error) error {
|
||||||
for _, cs := range cm.list {
|
for _, cs := range cm.list {
|
||||||
for _, v := range cs.overflow {
|
for _, v := range cs.overflow {
|
||||||
|
|||||||
Reference in New Issue
Block a user