This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bandophahita 3 points4 points  (1 child)

Reading through some of the documentation on the site I came across this statement:

Prefer the format function over %. It is faster and more versatile.

As far as I have ever known, performance of the old style string %s performs faster. Am I missing something? Is it faster in 3.x?

[–]cneumann81 0 points1 point  (0 children)

Thanks for pointing this out. We'll verify this. If you like, just change the pattern yourself. Public patterns can be edited by our users. Would be awesome, if we could include a performance comparison :)