File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 11// Package orderedmap provides a thread-safe, generic ordered map that maintains insertion order
22// while providing O(1) lookups. Unlike Go's built-in map, OrderedMap iterates in the order items
3- // were added, preventing UI flickering and enabling predictable, deterministic behavior.
3+ // were added, enabling predictable, deterministic behavior.
44package orderedmap
55
66import "sync"
@@ -14,7 +14,6 @@ type node[K comparable, V any] struct {
1414}
1515
1616// OrderedMap maintains insertion order while providing O(1) lookups, deletes, and moves
17- // This prevents UI flickering from Go's random map iteration order
1817//
1918// Thread-safe: All operations use internal locking
2019// Zero value is usable: var om OrderedMap[K,V] works without initialization
You can’t perform that action at this time.
0 commit comments