Message 259574 - Python tracker
It is easy to extend fastint_alt.patch to support floats too. Here is new patch. > It's instructive to run ./python Modules/_decimal/tests/bench.py (Hit Ctrl-C after the first cdecimal result, 5 repetitions or so). Note that this benchmark is not very stable. I ran it few times and the difference betweens runs was about 20%.