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

Optimize DateOnly, TimeOnly, ISOWeek #111244

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Optimize DateOnly, TimeOnly, ISOWeek #111244

merged 2 commits into from
Jan 14, 2025

Conversation

pentp
Copy link
Contributor

@pentp pentp commented Jan 9, 2025

Small optimizations and cleanup.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jan 9, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-datetime
See info in area-owners.md if you want to be subscribed.

@tarekgh
Copy link
Member

tarekgh commented Jan 9, 2025

Any benchmark numbers for the optimized parts?

@xtqqczze
Copy link
Contributor

xtqqczze commented Jan 9, 2025

Maybe rename the method UnsafeCreate to CreateUnchecked as part of these changes, since the method does not involve the use of unsafe context or types like Unsafe.

@tarekgh
Copy link
Member

tarekgh commented Jan 13, 2025

@pentp did you have a chance to address the remaining feedback so we can proceed completing this PR?

Copy link
Member

@tarekgh tarekgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pentp!

@tarekgh
Copy link
Member

tarekgh commented Jan 14, 2025

/ba-g failure is a build timeout which is observed on other PRs too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.DateTime community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants