[TYPO3-core] RFC #11606: [Feature]: Add a RANDOM cObject

Oliver Hader oliver at typo3.org
Fri Jul 31 19:21:51 CEST 2009


Hi Dmitry,

Dmitry Dulepov schrieb:
> Hi!
> 
> Ingo Renner wrote:
>> shouldn't it be a RANDOM_INT then to save the nesting, and otherwise
>> when having the result cached it's not that "random" anymore - at least
>> to visitors... Either way would be fine though... just saying ;)
> 
> Yes, should be... COA_INT unnecessary slows down processing in this case.

Hm, but RANDOM_INT behaves like COA_INT. It will be processed at the end
of the regular rendering (or cached) content. Thus, the "slow down" is
to fetch the first subkey containing the RANDOM object...

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list