[TYPO3-core] RFC #12322: cHash is generated when no parameters are given
Steffen Kamper
info at sk-typo3.de
Tue Jul 13 16:05:06 CEST 2010
Hi,
Dmitry Dulepov schrieb:
> Hi!
>
> Steffen Kamper wrote:
>> Also one remark, instead substr($addQueryParams, 0, 1) i would use
>> t3lib_div::isFirstpartOfString.
>> I also would use strict comparison.
>
> It would be two built–in function calls + a single user function call
> instead of a single built–in function call... I think using that function
> is not justified when comparing to a constant.
>
yes i know. And typolink should be as fast as possible, that could be a
reason for using internal function. Could also be done with strlen()>1,
but this is matter of taste,
Now also +1 by testing
vg Steffen
More information about the TYPO3-team-core
mailing list