Message259552
> 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. |
|
Date |
User |
Action |
Args |
2016-02-04 09:37:42 | vstinner | set | recipients:
+ vstinner, lemburg, rhettinger, mark.dickinson, pitrou, casevh, serhiy.storchaka, yselivanov, josh.r, zbyrne |
2016-02-04 09:37:42 | vstinner | set | messageid: <1454578662.52.0.637614714827.issue21955@psf.upfronthosting.co.za> |
2016-02-04 09:37:42 | vstinner | link | issue21955 messages |
2016-02-04 09:37:42 | vstinner | create | |
|