RE: [GD-Windows] R: exception handling
Brought to you by:
vexxed72
From: Daniel V. <Dan...@ep...> - 2004-10-19 20:49:42
|
> A try/catch block usually has zero performance impact until and=20 > unless you actually throw an exception.=20 Exception handling code can significantly increase the size of the stack frame and lead to quite some increase in executable size so you really don't want to do it for inlined functions that get called a lot. Having said that, all Unreal games shipped with a try/ catch block for almost all non performance critical functions, adding ~1 MByte to the executable and costing ~5% performance. -- Daniel, Epic Games Inc. |