trie/bintrie: remove KindInvalid (overflows 2-bit NodeRef tag)

This commit is contained in:
CPerezz 2026-04-15 22:53:08 +02:00
parent a9a2d5653c
commit ee951bad21
No known key found for this signature in database
GPG key ID: 62045F34B97177DD

View file

@ -24,7 +24,6 @@ const (
KindInternal // internal binary branching node KindInternal // internal binary branching node
KindStem // leaf group containing up to 256 values KindStem // leaf group containing up to 256 values
KindHashed // unresolved node (hash only) KindHashed // unresolved node (hash only)
KindInvalid // sentinel for validation
) )
// NodeRef is a compact, GC-invisible reference to a node in a NodeStore. // NodeRef is a compact, GC-invisible reference to a node in a NodeStore.