R: [GD-Windows] R: exception handling
Brought to you by:
vexxed72
From: Marco S. <mar...@li...> - 2004-10-20 14:53:34
|
Thank you for your gold suggestions. Best regards, Marco Severino -----Messaggio originale----- Da: gam...@li... [mailto:gam...@li...] Per conto di Jon Watte Inviato: marted=EC 19 ottobre 2004 17.31 A: gam...@li... Oggetto: RE: [GD-Windows] R: exception handling > 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=20 unless you actually throw an exception. The only cost is the=20 tables of EIP-to-unwind information, which sit on disk until they=20 get paged in by being referenced by throwing an exception. Yes, actually throwing is very expensive. Don't do it often! Cheers, / h+ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |