Skip to content

Commit d09afb5

Browse files
committed
fix comment
1 parent b99fe61 commit d09afb5

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
@@ -607,7 +607,7 @@ compute_branch_penalty(uint16_t history, bool branch_taken)
607607
int off_trace = 16 - on_trace_count;
608608
/* Linear scaling: off_trace ranges from 0 (fully biased our way)
609609
* to 16 (fully biased against us), so the penalty ranges from
610-
* FITNESS_BRANCH_BASE to FITNESS_BRANCH_BASE + 48. */
610+
* FITNESS_BRANCH_BASE to FITNESS_BRANCH_BASE + 32. */
611611
return FITNESS_BRANCH_BASE + off_trace * 2;
612612
}
613613

0 commit comments

Comments
 (0)