[TASK] Improve performance of Fluid TemplatePaths
This patch improves the performance of TemplatePaths in two ways: * GeneralUtility::removeDotsFromTS() is called on a far smaller array instead of all TypoScript. * Fallback paths are allowed to be cached in the runtime cache which avoids re-reading TypoScript when no paths are configured in TS. Saves several thousand calls to removeDotsFromTs which in turn saves several tens of thousands of calls to in_array. Change-Id: Ib8aef69dc9136d355441ac05f21fe391e524eacc Resolves: #82232 Releases: master, 8.7 Reviewed-on: https://review.typo3.org/53824 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Wolfgang Klinger <wolfgang@wazum.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>