2 ms·
They're not bad these days if they're predictable. There's a code size cost, but there's also a cost to emitting all the cleanups and exception safety too. For
by astrange 5y ago
They're not bad these days if they're predictable. There's a code size cost, but there's also a cost to emitting all the cleanups and exception safety too.
For instance Swift doesn't have exceptions - it has try/catch but they simply return, though with a special ABI for error passing.