Author vstinner
Recipients casevh, josh.r, lemburg, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, vstinner, yselivanov, zbyrne
Date 2016-02-04.09:37:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454578662.52.0.637614714827.issue21955@psf.upfronthosting.co.za>
In-reply-to
Content
> I agree with Marc-Andre, people doing FP-heavy math in Python use Numpy (possibly with Numba, Cython or any other additional library). Micro-optimizing floating-point operations in the eval loop makes little sense IMO.

Oh wait, I maybe misunderstood Marc-Andre comment. If the question is only on float: I'm ok to drop the fast-path for float. By the way, I would prefer to see PyLong_CheckExact() in the main loop, and only call fast_mul() if both operands are Python int.
History
Date User Action Args
2016-02-04 09:37:42vstinnersetrecipients: + vstinner, lemburg, rhettinger, mark.dickinson, pitrou, casevh, serhiy.storchaka, yselivanov, josh.r, zbyrne
2016-02-04 09:37:42vstinnersetmessageid: <1454578662.52.0.637614714827.issue21955@psf.upfronthosting.co.za>
2016-02-04 09:37:42vstinnerlinkissue21955 messages
2016-02-04 09:37:42vstinnercreate