-
This patch moves some array functions used in loops (array_merge, array_replace) out of their calling loop for performance reasons, where applicable. This this achieved by calling the functions via array unpacking ("splat operator"). See for further reading: https://github.com/kalessil/phpinspectionsea/blob/master/docs/performance.md#slow-array-function-used-in-loop Resolves: #89056 Releases: master Change-Id: Ia21b1909f77879918b84c6fa702f07a41149e83f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59083 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Frank Nägler <frank.naegler@typo3.org> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Frank Nägler <frank.naegler@typo3.org> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
e531ddce