[BUGFIX] Speed up BackendUtility->explodeSoftRefParserList 87/35187/3
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 9 Dec 2014 12:00:31 +0000 (13:00 +0100)
committerBenjamin Mack <benni@typo3.org>
Sun, 4 Jan 2015 15:00:19 +0000 (16:00 +0100)
commit522fba7db058c0c2783116d9772c2c2a561b6beb
treeb38c1142673d4d1b86e82bff17994444ab636720
parent0065134fc402bb1570f6dd46175f9e42a16c9846
[BUGFIX] Speed up BackendUtility->explodeSoftRefParserList

Due to improper checking for an empty array in
BackendUtility->explodeSoftRefParserList multiple trimExplode-calls per
record are executed. Fixing this check leads to an early return and
speeds up bulk inserting.

Resolves: #63674
Releases: master, 6.2
Change-Id: Id8969c33d8ebb109018159ada6a277ab5bfdd13c
Reviewed-on: http://review.typo3.org/35187
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Utility/BackendUtility.php