2 ms·
The problem is that if you have exception-happy code, then it becomes a scalability limiter for threading.
by cryptonector 5y ago
The problem is that if you have exception-happy code, then it becomes a scalability limiter for threading.
- adrian17 5y agoYes, if A: you have code that's expected to "fail" relatively many times, and B: this code is also multithreaded. A lot of code doesn't match one or both of these conditions while still being perf-sensitive. Further, as you can see in other comments, it's not an uncommon belief that exceptions simply shouldn't be used for A (and thus it's reasonable that they aren't optimized for something they aren't supposed to be used for).