[issue2303] isinstance is 4x as slow as in 2.5 because the common case raises

Guido van Rossum report at bugs.python.org
Tue Mar 18 21:59:32 CET 2008


Guido van Rossum <guido at python.org> added the comment:

Yeah, but tp_ slots are expensive themselves (mostly in the amount of
code that needs to be changed -- see typeobject.c).

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2303>
__________________________________


More information about the Python-bugs-list mailing list