Skip to content
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

PyLong_Export with PyLong_AsLongAndOverflow #6

Conversation

skirpichev
Copy link

@skirpichev skirpichev commented Sep 18, 2024

From my benchmarks this looks to be fastest implementation: python#121339 (comment). Also, it's easy for backports.


📚 Documentation preview 📚: https://cpython-previews--6.org.readthedocs.build/

@vstinner
Copy link
Owner

I implemented your change, but differently: using a revert commit + a different fix, see my PR.

(Also, your PR contains unrelated changes.)

@vstinner vstinner closed this Sep 18, 2024
@skirpichev skirpichev deleted the long_export-with-aslongandoverflow branch September 18, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants