RE: R: exception handling

"Jon Watte" <[email protected]> Tue, 19 Oct 2004 09:31:27 -0700
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
> 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+



-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555