5 ms·
> An exception that isn't thrown costs nothing. It costs binary size for unwinding tables, and in some cases it is an optimization barrier.
by Rusky 5y ago
> An exception that isn't thrown costs nothing.
It costs binary size for unwinding tables, and in some cases it is an optimization barrier.
- jcelerier 5y agoand yet when benchmarking, exceptions are often faster. cross-posting a comment I just made on r/programming: https://www.reddit.com/r/programming/comments/sz86fl/comment/hy5iprs https://www.reddit.com/r/programming/comments/sz86fl/comment...