cmd/gc: optimize memset idiom · Issue #5373 · golang/go

There should be a fast way to zero memory. When implementing object pools (reusing []byte or []int), for safety the application's pool allocator needs to zero memory before giving it back out to ca...