[TASK] Replace GeneralUtility::inList() with comparison 39/37139/7
authorJo Hasenau <info@cybercraft.de>
Mon, 23 Feb 2015 20:27:06 +0000 (21:27 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 11 Dec 2015 15:51:09 +0000 (16:51 +0100)
commit61226ff9ed579999541940c96d38544e42dd1e44
tree204aef1f5dd2de1c868f31e3d5f1b5a108beea00
parent5ef971d12519fe1209711c9ee7b951d42fe757dd
[TASK] Replace GeneralUtility::inList() with comparison

Using direct comparisons instead of GeneralUtility::inList() is faster
and uses less memory.

Releases: master
Resolves: #55626
Change-Id: I0acfe07fbd796ba017dd64d6987139bfb80db898
Reviewed-on: https://review.typo3.org/37139
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
35 files changed:
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseRowDateTimeFields.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php
typo3/sysext/core/Classes/Controller/CommandLineController.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Classes/Database/SoftReferenceIndex.php
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php
typo3/sysext/dbal/Classes/Database/SqlCompilers/Adodb.php
typo3/sysext/dbal/Classes/Database/SqlCompilers/Mysql.php
typo3/sysext/dbal/Classes/Database/SqlParser.php
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/Menu/JavaScriptMenuContentObject.php
typo3/sysext/frontend/Classes/Page/CacheHashCalculator.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/ImportExport.php
typo3/sysext/indexed_search/Classes/Lexer.php
typo3/sysext/lowlevel/Classes/CleanerCommand.php
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php
typo3/sysext/rtehtmlarea/Classes/Controller/SpellCheckingController.php
typo3/sysext/saltedpasswords/Classes/Evaluation/Evaluator.php
typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php
typo3/sysext/saltedpasswords/Classes/Utility/ExtensionManagerConfigurationUtility.php
typo3/sysext/saltedpasswords/Classes/Utility/SaltedPasswordsUtility.php
typo3/sysext/saltedpasswords/Tests/Unit/Evaluation/EvaluatorTest.php
typo3/sysext/setup/Classes/Controller/SetupModuleController.php
typo3/sysext/version/Classes/Controller/VersionModuleController.php
typo3/sysext/version/Classes/DataHandler/CommandMap.php
typo3/sysext/version/Classes/Dependency/ElementEntityProcessor.php
typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php