From ac6f9eb2ca0d46a8b42bcd1fb9b39561a26a1819 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 23 Sep 2023 17:10:19 -0700 Subject: 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. --- src/InternPool.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/InternPool.zig') 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"); -- cgit v1.2.3