Tango vs Phobos

Bruno Medeiros brunodomedeiros+spam at com.gmail
Mon Aug 18 09:45:17 PDT 2008


Sean Kelly wrote:
> Bruno Medeiros wrote:
>>
>> But does delegate usage cause that much erroneous outer variable heap 
>> allocation? (by erroneous, I mean in situations were it would not be 
>> necessary)
> 
>  From what I've been told, it does.  But I haven't personally tested D 
> 2.0 enough to say.
> 

Is there any bug report or code sample of such situation? I recall you 
mentioning this problem before, but I haven't seen any concrete example 
so far. (not saying there isn't ;) )

>> Or is the problem here that you are afraid that the developer might 
>> make a mistake were he would create a delegate that would capture an 
>> outer variable (and thus heap allocate it), but the developer would 
>> not notice it?
> 
> No.  My issue is simply with performance guarantees.
> 

Guarentees by the D spec itself?


-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list