aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-09-23 17:10:19 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-09-24 15:49:56 -0700
commitac6f9eb2ca0d46a8b42bcd1fb9b39561a26a1819 (patch)
tree81bdbf921f1024483366f0b71205c4915868815c /src/InternPool.zig
parentcc69315f032239d15496326f79ceec488f188ea9 (diff)
downloadzig-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.zig4
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");