Adding a break seems reasonable, there should only ever be a single matching algorithm and this doesn't need to be constant time. Feel free to send a CL, although be aware that since we are in the freeze window at the moment, your change will not be merged until ~August, when the tree re-opens for 1.20 changes.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
I read the
gosource code and found a performance issue, checkSignature why the loop doesn't
Lines 818 to 829 in aedf298
What did you expect to see?
forof the checkSignature function requires an early
What did you see instead?
If this needs to be fixed, I'd be happy to submit a
The text was updated successfully, but these errors were encountered: