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

GH-109369: Add machinery for deoptimizing tier2 executors, both individually and globally. by markshannon · Pull Request #110358 · python/cpython · GitHub

Repository navigation

GH-109369: Add machinery for deoptimizing tier2 executors, both individually and globally. - #110358

Closed
markshannon wants to merge 6 commits into
python:mainfrom
faster-cpython:tier2-deopt
Closed

markshannon wants to merge 6 commits into
python:mainfrom
faster-cpython:tier2-deopt

Conversation

markshannon commented Oct 4, 2023 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

This PR just provides the machinery; we still need to add support to the executors and to make the necessary calls when instrumenting.

The implementation uses a bloom filter.
The advantage of a bloom filter is that it requires no coupling between the executors and the objects they depend on, plus it is simpler to implement and uses less memory than a precise mapping.

I've chosen k = 6 and m = 256.
This should give a low enough false positive rate for most cases. We want to keep the false positive rate very low, as spurious de-optimizations could be expensive.

Copy link
Copy Markdown
Member Author

Closing. Superseded by #110384

markshannon closed this Oct 5, 2023
markshannon deleted the tier2-deopt branch August 6, 2024 10:17
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL