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

[framework] minimize effect of stateless/stateful swap #50394

Merged

Conversation

jonahwilliams
Copy link
Member

@jonahwilliams jonahwilliams commented Feb 8, 2020

Description

Attempt to reduce the cost of checking stateful/stateless widgets by removing extra cases. This is essentially a partial revert.

#50339

@fluttergithubbot fluttergithubbot added framework flutter/packages/flutter repository. See also f: labels. work in progress; do not review labels Feb 8, 2020
@jonahwilliams jonahwilliams marked this pull request as ready for review February 10, 2020 15:57
@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams
Copy link
Member Author

We'll see if this improves performance on the benchmarks (it did locally, slightly). Otherwise I can start looking at other options

@jonahwilliams jonahwilliams merged commit 2a6bc61 into flutter:master Feb 10, 2020
@jonahwilliams jonahwilliams deleted the protect_hot_reload_regression branch February 10, 2020 18:00
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants