I have read that there is some overhead to using C++ exceptions for exception handling as opposed to, say, checking return values. I\'m only talking about overhead that is i
Only try/catch and try/except block take a few instructions to set up. The overhead should generally be negligible in every case except the tighest loops. But you wouldn't normally use try/catch/except in an inner loop anyway.
I would advise not to worry about this, and use a profiler instead to optimize your code where needed.