diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-09-23 17:10:19 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-24 15:49:56 -0700 |
| commit | ac6f9eb2ca0d46a8b42bcd1fb9b39561a26a1819 (patch) | |
| tree | 81bdbf921f1024483366f0b71205c4915868815c /src/InternPool.zig | |
| parent | cc69315f032239d15496326f79ceec488f188ea9 (diff) | |
| download | zig-ac6f9eb2ca0d46a8b42bcd1fb9b39561a26a1819.tar.gz zig-ac6f9eb2ca0d46a8b42bcd1fb9b39561a26a1819.zip | |
InternPool: store_hash=false for FieldMap
This is something I wanted to do a long time ago but was blocked
by #10618 which is now solved.
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index 368ef51826..2e0722f34c 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -54,9 +54,7 @@ string_table: std.HashMapUnmanaged( std.hash_map.default_max_load_percentage, ) = .{}, -/// TODO: after https://github.com/ziglang/zig/issues/10618 is solved, -/// change store_hash to false. -const FieldMap = std.ArrayHashMapUnmanaged(void, void, std.array_hash_map.AutoContext(void), true); +const FieldMap = std.ArrayHashMapUnmanaged(void, void, std.array_hash_map.AutoContext(void), false); const builtin = @import("builtin"); const std = @import("std"); |
