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

Use broccoli memoization by default #1115

Merged
merged 3 commits into from Feb 8, 2022
Merged

Use broccoli memoization by default #1115

merged 3 commits into from Feb 8, 2022

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Feb 8, 2022

This closes #1112 by removing our OneShot optimization hack in favor of turning on broccoli memoization by default.

Broccoli memoization should absolutely be broccoli's default. It's not yet, but we can turn the flag on here unless users have explicitly turned it off.

This closes #1112 by removing our OneShot optimization hack in favor of turning on broccoli memoization by default.

Broccoli memoization should absolutely be broccoli's default. It's not yet, but we can turn the flag on here unless users have explicitly turned it off.
@ef4
Copy link
Contributor Author

ef4 commented Feb 8, 2022

If we land this, we could revert #1100. While I remain not a fan of cacheKeyForTree, it would become safe again for us to use it with OneShot gone, and our previous implementation worked harder to be compatible with the old caching semantics.

@ef4 ef4 merged commit 7ab4796 into main Feb 8, 2022
@ef4 ef4 deleted the broccoli-memoize branch February 8, 2022 04:45
@ef4 ef4 added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ember-cli shares broccoli trees across builders
1 participant