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
(
Read more... )