Skip to content

Commit 9447546

Browse files
committed
reduce frame penalty
1 parent c9957c3 commit 9447546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ compute_exit_quality(_Py_CODEUNIT *target_instr, int opcode,
633633
static inline int32_t
634634
compute_frame_penalty(const _PyOptimizationConfig *cfg)
635635
{
636-
return (int32_t)cfg->fitness_initial / 5 + 1;
636+
return (int32_t)cfg->fitness_initial / 10 + 1;
637637
}
638638

639639
static int

0 commit comments

Comments
 (0)