Antoine Pitrou <[email protected]> added the comment: > >> When it's possible to not overallocate, the speed up is around 10% for > >> short strings (I suppose that it's much better to longer strings). > > Well, please post a benchmark for long strings, then :-) > > Ok, here you have. I don't understand why results are so random. There > is no performance regression, but there are interesting speed up.
Do you have anything more interesting than fmt="%s" ? ---------- _______________________________________ 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
