- cross-posted to:
- [email protected]
You must log in or register to comment.
“signal handling is zero-cost until the signal is generated”
True, but higher level languages impose restrictions about in lining and other optimizations for code blocks that can generate/catch an exception. So an explicit null check is often superior.