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

Faster native int unboxing #987

Open
JukkaL opened this issue Mar 26, 2023 · 2 comments · May be fixed by python/mypy#17266
Open

Faster native int unboxing #987

JukkaL opened this issue Mar 26, 2023 · 2 comments · May be fixed by python/mypy#17266
Labels

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Mar 26, 2023

Inline the fast path of native int unboxing operations, since native integers are often used in performance-critical code, and performance is likely more important than code size or compilation speed.

@JukkaL JukkaL added the speed label Mar 26, 2023
@JukkaL
Copy link
Collaborator Author

JukkaL commented Mar 10, 2024

This will be easier once we have a lowering pass (#854).

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 18, 2024

We can initially rely on inlining C primitive functions used for unboxing, or at least the hot paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant