Properties set/get huge speed difference?

Dave Dave_member at pathlink.com
Sat Sep 16 07:32:23 PDT 2006


ephemeros wrote:
> Unknown W. Brackets wrote:
>> Try defining the getter and setter as final.
>>
>> It's a function call, and it's using a virtual table as far as I know. 
>> That's going to be a lot slower.
>>
>> -[Unknown]
>>
>>
> 
> i tried, there is no notable difference. :(

DMD does inline inter-module 'final'.



More information about the Digitalmars-d-learn mailing list