Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #43268 [FrameworkBundle][Routing] Minor improvement - No `array…
…_merge` in loop (simonberger) This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle][Routing] Minor improvement - No `array_merge` in loop | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT A tiny (here) performance improvement in moving an array_merge out of a foreach. Added tests for those lines which were missing. I started to move more array_merge(_*) calls out of loops where it makes sense. In some cases the impact could be more relevant than in this small loop. I see this as a test. Should i add further changes as a combined, single or component based pull request and is 5.4 the correct target? Commits ------- 87e13a6 [FrameworkBundle] Minor improvement - No `array_merge` in loop
- Loading branch information
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters