[Tutor] try/except slow?

R. Alan Monroe R. Alan Monroe" <amonroe@columbus.rr.com
Sat Jun 21 13:53:01 2003


Is it normal for try blocks to be slower than the same code that's not
wrapped in a try block?

I had a try: at the very beginning of my function, but when I moved it
so that it wrapped a single line inside that function, I got massive
speedups. Didn't know if it was due to some newbie gaff, or it's meant
to work that way.

Alan