runtime: preallocate panic errors for index and slice
This avoids allocating at the panic sites. LGTM=r, khr R=golang-codereviews, r, khr CC=dvyukov, golang-codereviews, iant, khr https://golang.org/cl/136020043
Showing
Please register or sign in to comment