Message117730
| Author |
skrah |
| Recipients |
Kiriakos.Vlahos, brian.curtin, eric.smith, loewis, mark.dickinson, sjmachin, skrah |
| Date |
2010年09月30日.12:14:27 |
| SpamBayes Score |
3.038339e-05 |
| Marked as misclassified |
No |
| Message-id |
<1285848868.6.0.695743029598.issue9980@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The tracker swallowed some parts of my mail:
In general, execution times for _Py_dg_dtoa vary quite a bit depending on
the number that is converted:
>>> s = "str(1.00000000000000005e300)"
>>> t = timeit.Timer(stmt=s)
>>> t.timeit(number=10000000)
5.097490072250366
>>> s = "str(1.00000000000000005e384)"
>>> t = timeit.Timer(stmt=s)
>>> t.timeit(number=10000000)
2.417008876800537 |
|