[TASK] Improve performance of trimExplode 13/38513/9
authorStefan Froemken <froemken@gmail.com>
Wed, 8 Apr 2015 06:37:10 +0000 (08:37 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Wed, 8 Apr 2015 06:46:31 +0000 (08:46 +0200)
commit27723ecb9770b41a898c2bebacded99ec58a9a50
tree45f29b5aea0c4845648b80592e51b8f9de89ae4c
parent2d94295ec8a02b2967525ec56b5f02c8ca043b29
[TASK] Improve performance of trimExplode

Preg_split replaces the trim action and the removal of empty values.
Performance varies per system and parameter values. Most used cases show
significant improvement on various systems and no performance loss in other
cases.

Resolves: #66307
Releases: master
Change-Id: Icf3c8dff93c934071e10eae7155e3798d57b3d5a
Reviewed-on: http://review.typo3.org/38513
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php