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 scoder
Recipients scoder
Date 2014-09-22.07:10:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411369830.75.0.216203072207.issue22458@psf.upfronthosting.co.za>
In-reply-to
Content
Fractions are great for all sorts of exact computations (including money/currency calculations), but are quite slow due to the need for normalisation at instantiation time.

I adapted the existing telco benchmark to use Fraction instead of Decimal to make this problem more visible. One change I made was to take the data reading out of the measured loop. I/O is not part of what the benchmark should measure.

Please consider adding it to the benchmark suite.
History
Date User Action Args
2014-09-22 07:10:30scodersetrecipients: + scoder
2014-09-22 07:10:30scodersetmessageid: <1411369830.75.0.216203072207.issue22458@psf.upfronthosting.co.za>
2014-09-22 07:10:30scoderlinkissue22458 messages
2014-09-22 07:10:30scodercreate