Some more benchmarks results (with 30bit_longdigit13.patch):
* Victor's bench_int.py:
- 32-bit without patch: 1370.1 ms
- 32-bit with patch: 1197.8 ms (23% speedup)
- 64-bit without patch: 1357.6 ms
- 64-bit with patch: 981.6 ms (28% speedup)
* calculating 2000 digits of pi (*):
- 32-bit without patch: 2.87 s.
- 32-bit with patch: 2.87 s. (0% speedup: ???)
- 64-bit without patch: 3.35 s.
- 64-bit with patch: 1.68 s. (50% speedup)
(*) using the following script adapted for py3k:
http://shootout.alioth.debian.org/u64q/benchmark.php?test=pidigits&lang=python&id=1 |