On Thu, Mar 18, 2010 at 11:40:40AM -0400, Martin Cracauer wrote: > FWIW, in C++ as of today's gcc, a function exiting with a thrown > exception is roughly 1000 times more expensive than a regular > call/return ...
"More expensive" defined how? Memory usage? CPU cycles? Developer effort? > I just had to kill some instances in my employer's codebase that were > using thrown exceptions as regular flow control. Yeah, well, that's dumb. Exceptions are for *exceptional* circumstances. -- David Cantrell | Bourgeois reactionary pig You can't spell AWESOME without ME! _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm