This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jyasskin
Recipients jyasskin, nnorwitz
Date 2008-01-08.16:39:08
SpamBayes Score 0.016068703
Marked as misclassified No
Message-id <1199810349.91.0.976772037257.issue1762@psf.upfronthosting.co.za>
In-reply-to
Content
Adding numbers.Real to Decimal's base classes almost doubles the time
its its test suite takes to run. A profile revealed that a large
fraction of that slowdown was in __instancecheck__, but even after
optimizing that, it's still about 25% slower. It looks like the rest of
the slowdown is still in other parts of the isinstance() check. It would
be nice if inheriting from ABCs didn't slow your class down.
History
Date User Action Args
2008-01-08 16:39:10jyasskinsetspambayes_score: 0.0160687 -> 0.016068703
recipients: + jyasskin, nnorwitz
2008-01-08 16:39:10jyasskinsetspambayes_score: 0.0160687 -> 0.0160687
messageid: <1199810349.91.0.976772037257.issue1762@psf.upfronthosting.co.za>
2008-01-08 16:39:08jyasskinlinkissue1762 messages
2008-01-08 16:39:08jyasskincreate