aboutsummaryrefslogtreecommitdiff
path: root/std/debug
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-05-03 01:23:35 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-05-03 01:25:03 -0400
commit3552180143a86432bfec3e71ba2fdd7aaebb0549 (patch)
tree1bec759d22529875d4518fb8991e6972b4ad1ffe /std/debug
parentf8117a0799f6c691bf65f3b3f4726bf0e6fd6be2 (diff)
downloadzig-3552180143a86432bfec3e71ba2fdd7aaebb0549.tar.gz
zig-3552180143a86432bfec3e71ba2fdd7aaebb0549.zip
optimize `@memset` with `undefined`
When using `@memset` to set bytes to `undefined`, Zig notices this case and does a single Valgrind client request rather than N. Speeds up all allocators in safe modes. Closes #2388
Diffstat (limited to 'std/debug')
0 files changed, 0 insertions, 0 deletions