commit | 732da3eb1e295fd95b60fd1ee39956735d010532 | [log] [tgz] |
---|---|---|
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | Fri Jul 03 20:05:16 2020 +0000 |
committer | GitHub <noreply@github.com> | Fri Jul 03 20:05:16 2020 +0000 |
tree | e45e5ee012fde47037313d83c1b188c1030eedf6 | |
parent | 53f0da7dc60ca181b6ea4355403962e9efbf36b9 [diff] | |
parent | 8d167dd455dc63a8eeb10fae8f68627846ec4a13 [diff] |
Merge #214 214: faster zeroing of .bss r=JOE1994 a=JOE1994 This PR updates the code for zeroing the .bss section. The updated version uses `core::ptr::write_bytes()` which invokes a single **memset**, compared to the current code which initializes one byte at a time. The updated version would initialize the .bss section faster than the current version. Thank you for reviewing this PR :) :bowing_man: Co-authored-by: JOE1994 <joseph942010@gmail.com>