aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorSahnvour <sahnvour@pm.me>2021-05-12 19:39:36 +0200
committerAndrew Kelley <andrew@ziglang.org>2021-05-14 15:15:55 -0400
commit2d4d4baa42590803cff8581add325ea3f102ac2a (patch)
tree9f14b2d55c76a71fa7b9ec0c565cfe64ed3be103 /src/Compilation.zig
parent8b4e91e18ce425902bef726ec3731d266867a6f7 (diff)
downloadzig-2d4d4baa42590803cff8581add325ea3f102ac2a.tar.gz
zig-2d4d4baa42590803cff8581add325ea3f102ac2a.zip
std.hash_map: use 7 bits of metadata instead of 6
we only effectively need 1 control bit to represent 2 special states for the metadata (free and tombstone) this should reduce the number of actual element equality tests, but since it's very low already, the impact is negligible
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions