We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1364159 commit 9fbec75Copy full SHA for 9fbec75
Include/internal/pycore_optimizer.h
@@ -49,7 +49,7 @@ extern "C" {
49
* N_BACKWARD_SLACK more bytecodes before reaching EXIT_QUALITY_CLOSE_LOOP,
50
* based on AVG_SLOTS_PER_INSTRUCTION. */
51
#define N_BACKWARD_SLACK 50
52
-#define FITNESS_BACKWARD_EDGE (FITNESS_INITIAL - EXIT_QUALITY_CLOSE_LOOP \
+#define FITNESS_BACKWARD_EDGE (FITNESS_INITIAL/2 \
53
- N_BACKWARD_SLACK * AVG_SLOTS_PER_INSTRUCTION)
54
55
/* Backward edge penalty for JUMP_BACKWARD_NO_INTERRUPT (coroutines/yield-from).
0 commit comments