Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BUG: GH29461 Strftime #34668
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
BUG: GH29461 Strftime #34668
Changes from 38 commits
12d0b4d
02c4a85
7e3256b
f00e48a
a90f928
26a920c
3a529ac
d0124aa
0c0aaf2
abdbe4e
97ae6b3
1132aba
0e42026
ab0c9d4
532b19c
88fba5e
2ac690c
3b533c9
f6ba1c9
07b27e2
4b57c4f
d72222a
e920d20
34db469
fbe286e
54d30eb
90629c5
821dfbb
16b0f9f
b8565f2
6866a3d
3806567
a4ddcbb
7fe0a5e
ce9ef3d
7b69abb
858b3fb
e7b8525
6a2f3d2
d62ff1d
cbb735e
0c4ef36
62c1126
4468168
88c7e26
4d433f9
b0de2c4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
move to 1.2
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.
does this change any of the benchmarks?
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.
Looks like we suffer a penalty for the additional
super()
function call instrftime()
, and then there's an additional performance impact when we actually need to process nanoseconds.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.
can you use string replacement rather than re? doesn't this change perf?
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.
Good call. Tested both and string replace is WAY more performant.