Update trie/stacktrie.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
maskpp 2025-11-02 13:53:34 +08:00 committed by GitHub
parent b1ceb91c34
commit 2463860b2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -157,6 +157,7 @@ const (
hashedNode
)
// emptyNodes is a pre-initialized array of nil pointers used to efficiently clear stNode children arrays during reset operations.
var emptyNodes = [16]*stNode{}
func (n *stNode) reset() *stNode {