mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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
This commit is contained in:
parent
f8117a0799
commit
3552180143
2 changed files with 33 additions and 24 deletions
Loading…
Add table
Add a link
Reference in a new issue