|
|
|
|
|
by mpyne
296 days ago
|
|
There's a time-space tradeoff to basically any means of error checking. Including checking return codes instead of exceptions. It's even possible for exceptions as implemented by g++ in the Itanium ABI to be cheaper than the code that would be used for consistently checking return codes. |
|
[0] https://news.ycombinator.com/item?id=22483028
[1] https://www.research.ed.ac.uk/portal/files/78829292/low_cost...