diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-10-04 16:11:56 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-10-08 11:47:00 -0400 |
commit | 7122b28296f13d0a3401e79691d6f653153b79b5 (patch) | |
tree | 534d8813329d4c9379d05a9d6dab3d99f76d4bb2 /docs/CONTRIBUTING.md | |
parent | c86dcbc5c0d88d40929c4052a3e866f4a24e1fce (diff) | |
download | bfs-7122b28296f13d0a3401e79691d6f653153b79b5.tar.xz |
trie: Switch the tag bits around
First of all, almost all checks were !trie_is_leaf(), so it makes sense
to use trie_is_node() instead. Secondly, using the tag bit for internal
nodes allows us to remove some NULL checks.
Diffstat (limited to 'docs/CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions