-
Notifications
You must be signed in to change notification settings - Fork 3k
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
compiler: Do strength reduction of the hint for update_record #8726
compiler: Do strength reduction of the hint for update_record #8726
Conversation
CT Test Results 2 files 321 suites 12m 11s ⏱️ Results for commit 86af471. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
933a986
to
a6eacce
Compare
Updated PR to make |
a6eacce
to
f0c9191
Compare
There are merge conflicts because of the recent merge of your other pull request. Please rebase on the latest |
Change the hint from `reuse` to `copy` when reusing clearly will not work. Extending this optimization to be module-global, and not just work at the function level, increases the time spent on this pass by a factor of between 4 and 5 and only triggers infrequently, and for example, never allows for additional destructive updates. For the moment this is considered good enough. Co-authored-by: Frej Drejhammar <[email protected]>
f0c9191
to
86af471
Compare
Done, will update #8695 when this one is merged. |
Thanks! Added to our daily builds. |
Change the hint from
reuse
tocopy
when reusing clearly will not work.