4 ms·
Exceptions don't generally have a large performance overhead, they do in C++. Ocaml exception handling for example was orders of magnitude faster last I looked.
by patrec 7y ago
Exceptions don't generally have a large performance overhead, they do in C++. Ocaml exception handling for example was orders of magnitude faster last I looked. And C++ itself is seeking to fix the super-slow design: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0709r0.pdf http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p070....