Skip to content

Add free-threading optimization for _PyFloat_FromDouble_ConsumeInputs #129695

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

Open
nascheme opened this issue Feb 5, 2025 · 0 comments
Open

Add free-threading optimization for _PyFloat_FromDouble_ConsumeInputs #129695

nascheme opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage topic-free-threading type-feature A feature request or enhancement

Comments

@nascheme
Copy link
Member

nascheme commented Feb 5, 2025

Feature or enhancement

Proposal:

The free-threaded build is missing an optimized version of this function. It should generally give a small speedup on code that does binary operations on float objects.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@nascheme nascheme added performance Performance or resource usage topic-free-threading type-feature A feature request or enhancement labels Feb 5, 2025
@nascheme nascheme self-assigned this Feb 5, 2025
@picnixz picnixz added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage topic-free-threading type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants