[TASK] Lower memory use in ArrayUtil->mergeRecursiveWithOverrule 35/35535/2
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:43 +0000 (09:01 +0100)
commitea33fb5f8c289120bb6e3466ebd869662023b89d
tree43ec3c80d00e36b8b9c6b5b1422a365580f0e796
parentb7a9714ed4821fcdfd2673a24946cfb787aa9362
[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/35535
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Utility/ArrayUtility.php