Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I "Compile .py Files to Byte Code after Installation"?

I'm installing Python 3.2 32bit on Win7 machine, there is the following option:

Compile .py Files to Byte Code after Installation

Should I leave option unchecked or is the compilation recommended?

like image 862
rluks Avatar asked Sep 11 '12 18:09

rluks


1 Answers

Since the bytecode is unlikely to change regardless of how many times it is compiled, the interpreter can take advantage of the small speedup gain. Unless you are very short of hard drive space, you should select this option.

like image 98
Ignacio Vazquez-Abrams Avatar answered Sep 22 '22 06:09

Ignacio Vazquez-Abrams