3 ms·
Is the performance lost in the panic recover() not the actual panic? Just a guess, I'm not a Go person. If there's no attempt to recover in the code, then pan
by emmelaich 2y ago
Is the performance lost in the panic recover() not the actual panic?
Just a guess, I'm not a Go person.
If there's no attempt to recover in the code, then panic() wouldn't need to save any state and the compiler might just optimise out anything needed for recover()y.
- deleted 2y ago[deleted]