Skip to content

perf: Misc performance improvements - #13309

Merged
jeromelaban merged 7 commits into
unoplatform:masterfrom
Youssef1313:misc-perf
Aug 25, 2023
Merged

jeromelaban merged 7 commits into
unoplatform:masterfrom
Youssef1313:misc-perf

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Aug 19, 2023 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): closes #13308, closes #12008

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

Copilot Summary

🤖 Generated by Copilot at 618adfa

This pull request improves the performance and readability of the hit testing and visual tree traversal logic in VisualTreeHelper.cs and related classes, by using bitwise operations, custom enumerators, and nullable reference types. It also removes unused or redundant code, and aligns the conditional compilation symbols.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@github-actions github-actions Bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Aug 19, 2023
@Youssef1313
Youssef1313 force-pushed the misc-perf branch 2 times, most recently from da8708e to 6540b7c Compare August 19, 2023 11:04
@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Aug 19, 2023
@jeromelaban

Copy link
Copy Markdown
Member

/azp run

@jeromelaban
jeromelaban enabled auto-merge August 25, 2023 03:01
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@jeromelaban
jeromelaban merged commit ed1bcf8 into unoplatform:master Aug 25, 2023
@Youssef1313
Youssef1313 deleted the misc-perf branch August 25, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OnPointerMoved is expensive Review HasFlag calls in hot code paths

2 participants