patch to permanently enable optimization for python 2.7.15
--- Python-2.7.15.org/Python/compile.c | |
+++ Python-2.7.15/Python/compile.c | |
@@ -32,7 +32,7 @@ | |
#include "symtable.h" | |
#include "opcode.h" | |
-int Py_OptimizeFlag = 0; | |
+int Py_OptimizeFlag = 1; | |
#define DEFAULT_BLOCK_SIZE 16 | |
#define DEFAULT_BLOCKS 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment