summaryrefslogtreecommitdiffstats
path: root/src/dir.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-10-04 16:11:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-10-08 11:47:00 -0400
commit7122b28296f13d0a3401e79691d6f653153b79b5 (patch)
tree534d8813329d4c9379d05a9d6dab3d99f76d4bb2 /src/dir.h
parentc86dcbc5c0d88d40929c4052a3e866f4a24e1fce (diff)
downloadbfs-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 'src/dir.h')
0 files changed, 0 insertions, 0 deletions