FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-118093: Fix off-by-one errors in tier-up thresholds by brandtbucher · Pull Request #124447 · python/cpython · GitHub

/ cpython Public

GH-118093: Fix off-by-one errors in tier-up thresholds - #124447

Merged
brandtbucher merged 1 commit into
python:mainfrom
brandtbucher:off-by-one
Sep 27, 2024
Merged

GH-118093: Fix off-by-one errors in tier-up thresholds#124447
brandtbucher merged 1 commit into
python:mainfrom
brandtbucher:off-by-one

Conversation

brandtbucher commented Sep 24, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Instead of warming up loops at 16 hits and side-exits at 64 hits, we're currently warming them up at 17 hits and 65 hits, respectively. This is just a simple change to fix the thresholds.

No change in stats, perf is 0.7% faster and memory is 0.5% lower, but that's probably just noise.

brandtbucher added performance Performance or resource usage skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Sep 24, 2024
brandtbucher self-assigned this Sep 24, 2024
brandtbucher merged commit 26a7420 into python:main Sep 27, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage skip news sprint

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL