b0333d33a2
There is a loop that fills a byte array with zero-s. Let's use copy() instead of setting elements one by one. The new implementation is two time faster than the previous one and it is more than 10x faster with the race detector. Reported-by: syzbot+5f57d988a5f929af5a91@syzkaller.appspotmail.com PiperOrigin-RevId: 369283919 |
||
---|---|---|
.. | ||
BUILD | ||
block_unsafe.go | ||
io.go | ||
io_test.go | ||
safemem.go | ||
seq_test.go | ||
seq_unsafe.go |