▲ | aidenn0 6 days ago | ||||||||||||||||
Exceptions in C++ are never zero-overhead. There is a time-space tradeoff for performance of uncaught exceptions, and G++ picks space over time. | |||||||||||||||||
▲ | mpyne 6 days ago | parent | next [-] | ||||||||||||||||
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. | |||||||||||||||||
| |||||||||||||||||
▲ | netr0ute 6 days ago | parent | prev [-] | ||||||||||||||||
> G++ picks space over time By definition, that's zero-overhead because Ultrassembler doesn't care about space. | |||||||||||||||||
|