[TYPO3-core] RFC #10565: Speedup / Cleanup t3lib_match_condition - make use of trimExplode

Steffen Kamper info at sk-typo3.de
Sat Feb 28 13:14:46 CET 2009


Hi,

here is my final +1 by testing. I tested some of the conditions like 
browser, version, useragent and language, and all works as expected.

Thanks for your work.

vg Steffen

Benjamin Mack schrieb:
> Hey all,
> 
> Patch type: cleanup
> 
> BT reference: http://bugs.typo3.org/view.php?id=10565
> 
> Branches: trunk only
> 
> 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.
> 
> And thus: Request for comments!
> 
> Once this one is in the core, I will start working on the tsconfig 
> condition patch Olly and Bernhard prepared 1.5 years ago.
> 
> All the best,
> Benni.
> 


More information about the TYPO3-team-core mailing list