Author Sergey.Kirpichev
Recipients Sergey.Kirpichev
Date 2021-03-06.14:18:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Content uses naive algorithms for doing arithmetics.

It may worth implementing less trivial versions for addtion/substraction
and multiplication (e.g. Henrici algorithm and so on), described here:
as e.g gmplib does:

Some projects (e.g. SymPy here: reinvent
the stdlib's Fraction just to add such simple improvements.  With big denominators (~10**6)
this really does matter, my local benchmarks suggest the order of magnitude difference for
summation of several such numbers.
Date User Action Args
2021-03-06 14:18:17Sergey.Kirpichevsetrecipients: + Sergey.Kirpichev
2021-03-06 14:18:17Sergey.Kirpichevsetmessageid: <>
2021-03-06 14:18:17Sergey.Kirpichevlinkissue43420 messages
2021-03-06 14:18:17Sergey.Kirpichevcreate