[TYPO3-core] RFC: Feature #2883 / t3lib_div::trimExplode
Michael Stucki
michael at typo3.org
Mon Sep 10 11:25:12 CEST 2007
Martin Kutschker wrote:
> Michael Stucki schrieb:
>> Ah, I see. However, it would be helpful if there was a comment above
>> these lines, because my memory tells me that we clean up stuff like this
>> every once in a while.
>
> I've added:
>
> // for two perfomance reasons the loop is duplicated
> // a) avoid check for $onlyNonEmptyValues in foreach loop
> // b) avoid unnecessary code when $onlyNonEmptyValues is not set
Thanks!
- michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list