Advertisement

throwing exceptions

Started by October 26, 2000 06:54 AM
1 comment, last by Shabadoo 24 years, 2 months ago
Does using a throw/catch block and using exceptions slow down the program execution speed a lot or is it virtually free? Shabadoo
Exceptions don''t really cost too much overhead when the program is running, however, when an exception IS thrown, it does run kind of slow.

Thats okay however, because i don''t expect people to throw lots of exceptions per frame, heh.

===============================================
If there is a witness to my little life,
To my tiny throes and struggles,
He sees a fool;
And it is not fine for gods to menace fools.
This is my signature. There are many like it, but this one is mine. My signature is my best friend. It is my life. I must master it as I must master my life. My signature, without me, is useless. Without my signature, I am useless.
Advertisement
Thanks,
I''ll start using them to try to make my game a little more crash proof (I hope).

Shabadoo

This topic is closed to new replies.

Advertisement