Bug #20104
Speedup / Cleanup t3lib_match_condition - make use of trimExplode
| Status: | Closed | Start date: | 2009-02-27 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Benjamin Mack | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.3 | Complexity: | ||
| PHP Version: | 4.3 | |||
| Votes: | 0 |
Description
Problem: Although we have a good API for trimming and exploding, we don't make use of it in t3lib_match_condition.
This cleanup is a bigger result of splitting the "tsconfig condition" patch into cleanup and functional changes. While extracting these changes, I added some more cleanups.
Solution: Change some checks, loops and functions to faster functions and loops, add some whitespaces.
(issue imported from #M10565)