-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-88473: Implement fast path in date.today() for date types #130980
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
base: main
Are you sure you want to change the base?
Conversation
Are the benchmarks realised on a PGO build or a debug build? or maybe PGO+LTO? or just release build? |
Both are just plain builds. python3.14 is from the morning but I doubt the few commits matter. |
Misc/NEWS.d/next/Library/2025-03-08-17-07-00.gh-issue-88473.qg23g8.rst
Outdated
Show resolved
Hide resolved
By plain builds, do you mean with or withou |
@pganssle can you take a look at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my part, it looks good but I'll let a datetime expert have the final decision.
Co-authored-by: Bénédikt Tran <[email protected]>
Friendly ping @pganssle Any comments on this? |
Friendly ping @pganssle :-) |
Other suggested implementations are not as backward compatible.
~5x faster for date types