[fpc-devel] Less global variables
    Adem 
    listmember at letterboxes.org
       
    Sat Oct  9 17:33:20 CEST 2010
    
    
  
  On 2010-10-09 17:50, Andrew Brunner wrote:
> 2010/10/9 Adem<listmember at letterboxes.org>:
>> Would you consider turning those structured types into objects?
>>
>> Properties with getter/setter pairs would make tracing (placing a breakpoint
>> in the getter/sertter would help identify the caller) easier.
> The only problem with that line of thinking is that every time your
> are calling that variable you are adding the extra steps.  This is
> impeding on performance of both compiling and maybe even execution.
Why would globals be called so often as to impact performance?
-- 
Cheers,
Adem
    
    
More information about the fpc-devel
mailing list