-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Performance: Getting rid of array_merge
in loop
#26355
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
Performance: Getting rid of array_merge
in loop
#26355
Conversation
Hi @lbajsarowicz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
app/code/Magento/Tax/Model/ResourceModel/Calculation/Rate/Collection.php
Show resolved
Hide resolved
b041ac4
to
0228d4b
Compare
array_merge
in looparray_merge
in loop
app/code/Magento/ImportExport/Model/Import/ErrorProcessing/ProcessingErrorAggregator.php
Show resolved
Hide resolved
Hi @ihor-sviziev, thank you for the review. |
@engcom-Golf I rolled back change of return type to have 100% green. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lbajsarowicz thank you for reverting changes that require approval. Could you also resolve merge conflict that just appeared?
…rmance-improvements # Conflicts: # app/code/Magento/CatalogWidget/Block/Product/ProductsList.php
@magento run all tests |
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed |
Hi @lbajsarowicz, thank you for your contribution! |
Description (*)
Work In Progress Related with removing
foreach() { $x = array_merge($x, $this->x()); }
Fixed Issues (if relevant)
Nope
Manual testing scenarios (*)
Nope
Questions or comments
Nope.
Contribution checklist (*)