2 ms·
I guess that's why you Rust guys don't have exceptions, so you don't have to pay this cost. </s>
by searealist 9y ago
I guess that's why you Rust guys don't have exceptions, so you don't have to pay this cost. </s>
- dbaupp 9y ago(Explanation of the /s: panics use the same mechanism, so the compiler and libraries unfortunately still have to be just as defensive when they're enabled. When the compiler is in -C panic=abort mode, it doesn't suffer from this, but I don't think libraries have a great way to customise/improve their behaviour in that case at the moment.)