[TYPO3-core] RFC: Feature #2883 / t3lib_div::trimExplode

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Tue Sep 4 20:57:18 CEST 2007


REMINDER

Oliver Hader schrieb:
> Hi Masi,
> 
> Martin Kutschker schrieb:
>> Martin Kutschker schrieb:
>>> Wolfgang Klinger schrieb:
>>>> *hiya!*
>>>>
>>>> Patch request / trunk
>>>>
>>>>
>>>> Bugtracker: http://bugs.typo3.org/view.php?id=2883
>>>>
>>>> I tested it again and measured the difference with XDebug,
>>>> it's still faster and there's no difference in the results
>>>> anymore.
>>>>
>>>> Please test with the code given in the
>>>> latest comment here: http://bugs.typo3.org/view.php?id=2883
>>> Please add this to the test (requires PHP5):
>>>
>>>  [snip]
>>>
>>> My tests showed that it's a fraction faster :-)
>> There is a unit test in the bug report so it's quite easy to test.
>>
>> Masi
> 
> +1 on testing the patch. Using references is faster.
> 
> I tried to improve this also by using a single-line regular expression -
> it was faster than the array_map() but slower than Masi's approach.
> 
> 
> olly


More information about the TYPO3-team-core mailing list