Stefan Krah added the comment: I think string conversion should be part of this benchmark, or it should be renamed to fraction-arith or something.
The formatting function can be a significant bottleneck, and if you use Fractions for financial calculations the result will still need to be printed in decimal floating point form. That said, is the purpose of this benchmark to show that fractions are slow and generate interest in changing the situation? ---------- nosy: +skrah _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com