Descriptionruntime: preallocate panic errors for index and slice
This avoids allocating at the panic sites.
Patch Set 1 #Patch Set 2 : diff -r 7786bd1553ab00632e8ea85a78d640eb19c9d490 https://code.google.com/p/go/ #Patch Set 3 : diff -r 7786bd1553ab00632e8ea85a78d640eb19c9d490 https://code.google.com/p/go/ #Patch Set 4 : diff -r 70fc2e0dcd39524bf0a596e464cba15f2938b13a https://code.google.com/p/go/ #MessagesTotal messages: 4
|