• Martin Holst Swende's avatar
    trie: improve the node iterator seek operation (#22470) · 4b783c00
    Martin Holst Swende authored
    This change improves the efficiency of the nodeIterator seek
    operation. Previously, seek essentially ran the iterator forward
    until it found the matching node. With this change, it skips
    over fullnode children and avoids resolving them from the database.
    4b783c00
iterator_test.go 13.2 KB