[TYPO3-core] RFC: Remove empty label tags
Michael Scharkow
michael at underused.org
Tue Jan 24 17:55:23 CET 2006
Wolfgang Klinger wrote:
> *hiya!*
>
>
>>> 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?
Cheers,
Michael
More information about the TYPO3-team-core
mailing list