gh-127119: Faster check for small ints in long_dealloc by eendebakpt · Pull Request #127620 · python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

eendebakpt:small_int_immortal_v2

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Remove redundant small int check in long_dealloc #127119

Faster check for small ints in long_dealloc

📜🤖 Added by blurb_it.

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Use int immortality bit for small int check

Merge branch 'small_int_immortal_v2' of github.com:eendebakpt/cpython…

Merge branch 'main' into small_int_immortal_v2

fix compiler warnings

Merge branch 'small_int_immortal_v2' of github.com:eendebakpt/cpython…

View reviewed changes

some documentation updates

Update Objects/longobject.c

Merge branch 'small_int_immortal_v2' of github.com:eendebakpt/cpython…

View reviewed changes

Update Tools/gdb/libpython.py

update _PyLong_IsNonNegativeCompact

View reviewed changes

Merge branch 'main' into small_int_immortal_v2

View reviewed changes

bedevere-app Bot commented Dec 20, 2024

bedevere-app Bot commented Dec 20, 2024

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core devel

Update Modules/_testcapi/immortal.c

Update Modules/_testcapi/immortal.c

Update Include/cpython/longintrepr.h

Merge branch 'main' into small_int_immortal_v2

include pycore_long.h

include pycore_long.h

debug build failure

Merge branch 'main' into small_int_immortal_v2

fix bug when copying the immortal bit