ART Index iterator
| 64 | |
| 65 | // ART Index iterator |
| 66 | type ARTreeIterator struct { |
| 67 | currIndex int // The subscript position of the current traversal |
| 68 | reverse bool // Whether it is reverse traversal |
| 69 | values []*Item // Key + Location index information |
| 70 | } |
| 71 | |
| 72 | func NewARTreeIterator(tree art.Tree, reverse bool) *ARTreeIterator { |
| 73 | // Estimate the expected slice capacity based on tree size |
nothing calls this directly
no outgoing calls
no test coverage detected