C++ exception throwing and catching are more costly than I realized. try{throw 123;} catch(int) {} costs 100 CPU clocks when run normally, 16,000 CPU clocks when run within a debugger, because of OS exception hooks and process switching mojo.
-
-
OK, for some reason, I forget that VC implemented C++ exception on top of SEH. No wonder why people complaint about performance of C++ exception.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.