RE: [GD-Windows] R: exception handling
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2004-10-19 16:31:26
|
> Because I don't want to use exception, I must to pass to C libraries > (only for critical performance components). I'm wrong? A try/catch block usually has zero performance impact until and unless you actually throw an exception. The only cost is the tables of EIP-to-unwind information, which sit on disk until they get paged in by being referenced by throwing an exception. Yes, actually throwing is very expensive. Don't do it often! Cheers, / h+ |