Skip to content

Optimize SKRoundRectCache Clear Method for .NET 6+ #17605

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

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

lindexi
Copy link
Contributor

@lindexi lindexi commented Nov 25, 2024

What does the pull request do?

This changes optimizes the Clear method in SKRoundRectCache. For .NET 6 and higher versions, a faster clearing technique is utilized, enhancing performance.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

This changes optimizes the `Clear` method in `SKRoundRectCache`. For .NET 6 and higher versions, a faster clearing technique is utilized, enhancing performance.
@lindexi lindexi marked this pull request as ready for review November 25, 2024 08:18
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0053540-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

Copy link
Member

@MrJul MrJul left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@MrJul MrJul added this pull request to the merge queue Nov 25, 2024
Merged via the queue into AvaloniaUI:master with commit 1222399 Nov 25, 2024
11 checks passed
@lindexi lindexi deleted the t/lindexi/SKRoundRectCache branch May 6, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants