Message161916
| Author |
vstinner |
| Recipients |
loewis, mark.dickinson, pitrou, python-dev, serhiy.storchaka, vstinner |
| Date |
2012年05月29日.22:35:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338330926.84.0.618622030955.issue14744@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
report_windows7: Comparaison of str%args and str.format() on Windows 7.
* Python 2.7 (64 bits)
* Python 3.2 (64 bits), narrow (UTF-16)
* Python 3.3 (*32* bits), PEP 393
The benchmark is not fair because Python 3.3 is compiled in 32 bits, but there are interesting results. Example: ("{0}"*1024).format("A" * 4096) takes 1 or 2 seconds with Python 2.7/3.2 and 0.008 sec with Python 3.3! |
|