[TYPO3-core] RFC: Remove empty label tags

Michael Stucki michael at typo3.org
Thu Jan 26 12:04:52 CET 2006


Hi Michael,

>>>> that's indeed the fastest method (0.001331 sec. for 100 comparisons),
>>>> nearly half the time of the in_array comparison!
>>>
>>>OK, so while you're at it:
>>>How fast is the function t3lib_div::inList() (which is doing the same
>>>like above but in a separate function...)?
>>>
>>>!t3lib_div::inList('radio,label,hidden,comment', $confData['type'])
>> 
>>  this takes 0.002570 seconds...
> 
> Since we have t3lib_div::inList() anyway, should we use Ingmar's
> solution in it?

Didn't get that. t3lib_div::inList _does_ include the solution of Ingmar!

- 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