Log in

No account? Create an account
Who, me? [userpic]

Python exception performance

March 23rd, 2009 (03:08 pm)

In a talk here at ILC 2009, it was just mentioned that, on the CLR, throwing an exception took 3000 times as long as returning a value. I wondered what the gap would be like in Python 3.0, so I ran a quick test on my handheld, and the answer was: a factor of 5. I need to dig sometime to find out what the absolute gap is (i.e., the difference between Python and the CLR).


Posted by: C. Virtue (cvirtue)
Posted at: March 23rd, 2009 08:02 pm (UTC)

Given out the gummy Adders yet?

1 Read Comments