Skip to content

Commit 896e4fe

Browse files
reduce MAX_TARGET_LENGTH
1 parent 751a1d9 commit 896e4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_optimizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
* 4. A push followed by a matching return is net-zero on frame-specific
3131
* fitness, excluding per-slot costs.
3232
*/
33-
#define MAX_TARGET_LENGTH 800
33+
#define MAX_TARGET_LENGTH (UOP_MAX_TRACE_LENGTH / 3 * 2)
3434
#define OPTIMIZER_EFFECTIVENESS 2
3535
#define FITNESS_INITIAL (MAX_TARGET_LENGTH * OPTIMIZER_EFFECTIVENESS)
3636

0 commit comments

Comments
 (0)