3 ms·
This calls for the classic quote: "Premature optimization is the root of all evil" I expect the vast majority of code spends so little time in errors.Is() that
by Ferret7446 2y ago
This calls for the classic quote: "Premature optimization is the root of all evil"
I expect the vast majority of code spends so little time in errors.Is() that trying to optimize it saves nothing. Profile first, and change it later if needed; as Go is statically typed such a change is trivial.