aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-03 22:34:29 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-06 14:23:23 -0800
commit36e9b0f0261a5421f22dbf17f513a8c2f685c5d3 (patch)
tree62e7d47f13e388f4db799b597a7617b80c2d9d48 /lib/std/array_hash_map.zig
parent2c5113f6d1ee9d5041d9d79cfbe13e6bea2aff56 (diff)
downloadzig-36e9b0f0261a5421f22dbf17f513a8c2f685c5d3.tar.gz
zig-36e9b0f0261a5421f22dbf17f513a8c2f685c5d3.zip
std.mem.Allocator: keep the undefined memset
Reversal on the decision: the Allocator interface is the correct place for the memset to undefined because it allows Allocator implementations to bypass the interface and use a backing allocator directly, skipping the performance penalty of memsetting the entire allocation, which may be very large, as well as having valuable zeroes on them. closes #4298
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions