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?
to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
assignee = None
closed_at = <Date 2020-09-29.00:58:12.992>
created_at = <Date 2020-09-28.08:55:08.091>
labels = ['interpreter-core', '3.10', 'performance']
title = 'Add vectorcall for float()'
updated_at = <Date 2021-04-06.14:49:25.534>
user = 'https://github.com/sweeneyde'
activity = <Date 2021-04-06.14:49:25.534>
actor = 'corona10'
assignee = 'none'
closed = True
closed_date = <Date 2020-09-29.00:58:12.992>
closer = 'corona10'
components = ['Interpreter Core']
creation = <Date 2020-09-28.08:55:08.091>
creator = 'Dennis Sweeney'
dependencies = 
files = 
hgrepos = 
issue_num = 41873
keywords = ['patch']
message_count = 3.0
messages = ['377590', '377647', '377648']
nosy_count = 3.0
nosy_names = ['vstinner', 'corona10', 'Dennis Sweeney']
pr_nums = ['22432']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'performance'
url = 'https://bugs.python.org/issue41873'
versions = ['Python 3.10']
The text was updated successfully, but these errors were encountered:
I got these benchmarks:
.\python.bat -m pyperf timeit "float(0)"
Before: Mean +- std dev: 79.0 ns +- 1.0 ns
After: Mean +- std dev: 51.5 ns +- 1.6 ns
Sorry, something went wrong.
New changeset e8acc35 by Dennis Sweeney in branch 'master':
bpo-41873: Add vectorcall for float() (GH-22432)
Now float() is faster!
Thank you for your contribution, Dennis :)
And thank you Victor as co-reviewer!
No branches or pull requests