Author skrah
Recipients asvetlov, pitrou, scoder, serhiy.storchaka, skrah, vstinner
Date 2016-09-02.16:38:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The reason is that the benchmark is a softball for fractions. Using the fastest fraction implementation (gmpy.mpq) and the best printing method for both types, gmpy.mpq seems to be about 2.5 to 3 times slower than decimal.

It is however easy to generate benchmarks where mpq is 3000 times slower, depending on how many prime factors accumulate in the denominator.

Fractions will shine in most benchmarks where decimal is exact anyway.
Date User Action Args
2016-09-02 16:38:50skrahsetrecipients: + skrah, pitrou, scoder, vstinner, asvetlov, serhiy.storchaka
2016-09-02 16:38:50skrahsetmessageid: <>
2016-09-02 16:38:50skrahlinkissue22458 messages
2016-09-02 16:38:50skrahcreate