This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Yury.Selivanov
Recipients Yury.Selivanov, casevh, josh.r, lemburg, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner, yselivanov, zbyrne
Date 2016-02-04.15:56:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5D39CE42-CF13-45C1-A922-CF083B0CC857@gmail.com>
In-reply-to <1454600409.52.0.487543997192.issue21955@psf.upfronthosting.co.za>
Content
> 
> Stefan Krah added the comment:
> 
> It's instructive to run ./python Modules/_decimal/tests/bench.py (Hit Ctrl-C after the first cdecimal result, 5 repetitions or so).
> 
> fastint2.patch speeds up floats enormously and slows down decimal by 6%.
> fastint_alt.patch slows down float *and* decimal (5% or so).
> 
> Overall the status quo isn't that bad, but I concede that float benchmarks like that are useful for PR.
> 

Thanks Stefan! I'll update my patch to include Serhiy's ideas. The fact that fastint_alt slows down floats *and* decimals is not acceptable.

I'm all for keeping cpython and ceval loop simple, but we should not pass on opportunities to improve some things in a significant way.
History
Date User Action Args
2016-02-04 15:56:36Yury.Selivanovsetrecipients: + Yury.Selivanov, lemburg, rhettinger, mark.dickinson, pitrou, vstinner, casevh, skrah, serhiy.storchaka, yselivanov, josh.r, zbyrne
2016-02-04 15:56:36Yury.Selivanovlinkissue21955 messages
2016-02-04 15:56:36Yury.Selivanovcreate