Author skrah
Recipients belopolsky, johnwalker, mark.dickinson, rhettinger, serhiy.storchaka, skrah, steven.daprano, terry.reedy
Date 2015-12-27.12:13:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451218404.23.0.191576113503.issue25928@psf.upfronthosting.co.za>
In-reply-to
Content
Previously the method was rejected in #8947.  But the
speedup is quite dramatic. This is a benchmark for
converting "1.91918261298362195e-100", 1000000 repetitions:


float.as_integer_ratio: 0.548023
Decimal.as_integer_ratio: normalize=False: 2.661191
Decimal.as_integer_ratio: normalize=True: 4.382903
Fraction.from_decimal: 29.436584
History
Date User Action Args
2015-12-27 12:13:24skrahsetrecipients: + skrah, rhettinger, terry.reedy, mark.dickinson, belopolsky, steven.daprano, serhiy.storchaka, johnwalker
2015-12-27 12:13:24skrahsetmessageid: <1451218404.23.0.191576113503.issue25928@psf.upfronthosting.co.za>
2015-12-27 12:13:24skrahlinkissue25928 messages
2015-12-27 12:13:24skrahcreate