STINNER Victor <[email protected]> added the comment:
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!
----------
Added file: http://bugs.python.org/file25757/report_windows7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com