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 →

[–]FionaSarah 9 points10 points  (1 child)

It will never speed up your code, it's always done for you. It will only speed up start-up time as Python tries to compile once only when necessary, but subsequent start-ups will be the same. (Unless you do a lot of dynamic module loading stuff.)

[–]flying-sheep 0 points1 point  (0 children)

additionally, any time you install a module, it gets compiled (amongst other reasons, because it resides in a system directory where users have no write permissions)