diff options
| author | Sahnvour <sahnvour@pm.me> | 2021-05-12 19:39:36 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-14 15:15:55 -0400 |
| commit | 2d4d4baa42590803cff8581add325ea3f102ac2a (patch) | |
| tree | 9f14b2d55c76a71fa7b9ec0c565cfe64ed3be103 /lib/std/os | |
| parent | 8b4e91e18ce425902bef726ec3731d266867a6f7 (diff) | |
| download | zig-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 'lib/std/os')
0 files changed, 0 insertions, 0 deletions
