Skip to content

Commit 8f7b4f4

Browse files
Reduce limit
1 parent c4a6bee commit 8f7b4f4

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
@@ -830,7 +830,7 @@ _PyJit_translate_single_bytecode_to_trace(
830830
if (_tstate->jit_tracer_state.prev_state.jump_backward_seen >= 1 ||
831831
// Also end the trace early if we probably have no more space left, as it's better
832832
// to link to another backwards jump trace.
833-
trace_length >= (_tstate->jit_tracer_state.prev_state.code_max_size / 2)) {
833+
trace_length >= (_tstate->jit_tracer_state.prev_state.code_max_size / 3)) {
834834
OPT_STAT_INC(inner_loop);
835835
ADD_TO_TRACE(_EXIT_TRACE, 0, 0, target);
836836
trace[trace_length-1].operand1 = true; // is_control_flow

0 commit comments

Comments
 (0)