[TYPO3-dev] Add to CGL: Use self:: for static method calls	where possible
    Jigal van Hemert 
    jigal at xs4all.nl
       
    Wed Jun  9 21:36:56 CEST 2010
    
    
  
François Suter wrote:
> Hi,
> 
>> The CGL be extended with:
>>
>> Static Method Calls
>> ===================
>> Whenever a static method is called from within the same class self:: has
>> to be used instead of the class name.
> 
> Makes sense. 
Measured on my Windoze laptop it saved about 0.5 microsecond per call 
and on a Linux server about 0.2 microsecond per call.
Makes sense :-D
-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
    
    
More information about the TYPO3-dev
mailing list