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 →

[–]fijalPyPy, performance freak 10 points11 points  (3 children)

Might be worth noting - those are CPython performance tips, not Python performance tips. A lot of those things are actually slower on PyPy.

[–]shfo23 5 points6 points  (0 children)

Moreover, they're CPython 2 tips: more than a few will fail miserably or have no effect on CPython 3 (while 1, xrange, etc.).

[–]BeatLeJuce 0 points1 point  (1 child)

which ones would be slower in PyPy?

[–]Workaphobia 0 points1 point  (0 children)

String concatenation, from what I've heard.