diff options
author | L. Pereira <[email protected]> | 2024-07-08 16:34:40 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-08 16:34:40 -0700 |
commit | d150badf33d6087bdad8da5eb6a680e13dafe6ff (patch) | |
tree | 9b36dcbacccc2d459e9a658d862111b7906abc21 /diff.go | |
parent | 2d85fc6a6435f3bbdb8edaba6d41e6ec014f57f2 (diff) | |
download | tinygo-d150badf33d6087bdad8da5eb6a680e13dafe6ff.tar.gz tinygo-d150badf33d6087bdad8da5eb6a680e13dafe6ff.zip |
gc_leaking: Don't zero out new allocations in some targets (#4302)
Wasm linear memory is always initialized to zero by definition,
so there's no need to waste time zeroing out this allocation. This
is the case for freshly-obtained memory from mmap().
Signed-off-by: L. Pereira <[email protected]>
Diffstat (limited to 'diff.go')
0 files changed, 0 insertions, 0 deletions