Repository navigation
gh-126868: Add freelist for compact int objects #126865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0713034
Add freelist of compact int objects
eendebakpt be58ade
fix build
eendebakpt 3f50b54
cleanup freelist at exit
eendebakpt fa97302
fix memory leak; align with float implementation
eendebakpt d72486f
remove stale comment
eendebakpt e07c218
remove unused function
eendebakpt 328e0c1
avoid some problematic decrefs
eendebakpt e1dc2b3
jit build
eendebakpt 9df776b
📜🤖 Added by blurb_it.
blurb-it[bot] 6b73046
Merge branch 'main' into int_freelist
eendebakpt db8247e
Apply review suggestions
Fidget-Spinner d1e4aa2
Fixup
Fidget-Spinner 644e85a
review comments part 1
eendebakpt 9f86b6e
review comments part 2
eendebakpt 88274d6
Merge branch 'main' into int_freelist
eendebakpt 1e548bd
review suggestion
eendebakpt 13bc3e9
Merge branch 'main' into int_freelist
eendebakpt 60220c0
add small int check to _PyLong_ExactDealloc
eendebakpt 593d621
add COMPARE_OP_INT
eendebakpt efde111
review comment
eendebakpt 928e912
Merge branch 'main' into int_freelist
eendebakpt 437c24c
regenerate
eendebakpt b034948
Update Misc/NEWS.d/next/Core_and_Builtins/2024-11-16-22-37-46.gh-issu…
eendebakpt 19f64f6
Merge branch 'main' into int_freelist
eendebakpt 14681c1
Merge branch 'main' into int_freelist
eendebakpt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
jit build
- Loading branch information
commit e1dc2b3d872e91c7ac20cddf5d9aa4a617d0c255
There are no files selected for viewing
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need it to be exported like that or could you live with a simple
extern? If not, can you explain which file needs this export?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's needed by the JIT on Windows, as it's used in bytecodes.c. This is a pretty common pattern in the internal C API unfortunately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For semantic purposes, would it be better to have a macro named differently? (it would be a simple alias but it could help semantics and reviewers)