Re: [Python-Dev] try-except slower in 2.6 (was: performance)

2008-08-25 Thread M.-A. Lemburg
On 2008-08-24 21:04, Antoine Pitrou wrote: TryRaiseExcept: 183ms 122ms +49.6% 184ms 124ms +48.2% Whoa, that's a big slowdown. I wonder if it's consistent? Yes, I can definitely reproduce it. That's a huge slow-down compared to 2.5. Are there any obvious reasons

Re: [Python-Dev] try-except slower in 2.6 (was: performance)

2008-08-25 Thread Antoine Pitrou
M.-A. Lemburg mal at egenix.com writes: That's a huge slow-down compared to 2.5. Are there any obvious reasons for this ? Has the exception handling mechanism changed that much between 2.5 and 2.6 ? I've looked at it a bit and I think it's because of the issubclass()/isinstance() slowdown