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.
This commit is contained in:
Andrew Kelley 2023-09-23 17:10:19 -07:00
parent cc69315f03
commit ac6f9eb2ca

View File

@ -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");