[TASK] Lower memory use in ArrayUtil->mergeRecursiveWithOverrule 51/35351/5
authorStephan Großberndt <stephan@grossberndt.de>
Fri, 12 Dec 2014 13:58:17 +0000 (14:58 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 17 Dec 2014 08:01:13 +0000 (09:01 +0100)
commitbabd2626f2be330ba788026d97b74f0e5458bea3
treefdace3d2daa79140a30c421485cd60ea7579b835
parent30ebfa4e7d585f038795235b78682a2ffda09a39
[TASK] Lower memory use in ArrayUtil->mergeRecursiveWithOverrule

Iterate on the original array instead of an array_keys()-copy in
ArrayUtil->mergeRecursiveWithOverrule which lowers memory usage and
enhances performance.

Resolves: #63812
Releases: master, 6.2
Change-Id: I71acc9e1e730f1e782d0e74acd45637ce1b9f08e
Reviewed-on: http://review.typo3.org/35351
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Utility/ArrayUtility.php