In TLPI Ch. 6.8 setjmp() longjmp() Ch. 21.2.1 sigsetjmp() and siglongjmp()C++ Exception Handling and Performance
excerpt :
Using exceptions will make binary size bigger, no matter what mechanism is used to implement exception handling. So if program size is more important than execution speed, exceptions should not be used. And in those cases where you want to gain maximum execution speed with minimal impact on binary size, you have to do additional testing in order to find the best combination of C-style error checking and exception handling code that achieves your result.
reference :
Exception handling implementationreference:
[boost] Error and Exception Handling
Exception-Safety in Generic Components by David Abrahams
Structured Exception Handling
Exception handling in linux / structured exception handling (SEH)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.