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

Code quality: Seal all non-inherited classes to improve performance #14990

Merged
merged 4 commits into from Mar 20, 2024

Conversation

gumbarros
Copy link
Contributor

Resolved / Related Issues

  • Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
    Closes Code Quality: Seal classes when possible #12304

Validation
How did you test these changes?

  • Did you build the app and test your changes?

@yaira2
Copy link
Member

yaira2 commented Mar 19, 2024

Thank you for the PR. For future reference, please fill out the PR template to help the review go quicker 🙂

@yaira2 yaira2 requested a review from d2dyno1 March 19, 2024 14:54
yaira2
yaira2 previously approved these changes Mar 19, 2024
Copy link
Member

@0x5bfa 0x5bfa left a comment

Choose a reason for hiding this comment

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

lgtm.

src/Files.App/Helpers/WMI/ManagementEventWatcher.cs Outdated Show resolved Hide resolved
@yaira2
Copy link
Member

yaira2 commented Mar 20, 2024

I think we should merge this regardless, but it would be interesting to see if there is a performance difference.

@yaira2 yaira2 merged commit 6548e12 into files-community:main Mar 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code Quality: Seal classes when possible
3 participants