someone wrote about a better performance using "with". is that true?
even with a simple pointer as in: 

with ptr^ do 

begin 

prop1 := ...


prop2 := ... 

end; 

which should be faster then 

ptr^.prop1 := ...


ptr^.prop1 := ... 

others wrote it is just usefull to save writing
time ... 

Em 14.09.2014 12:40, Luca Olivetti escreveu: 

> El 14/09/14
17:20, Marco van de Voort ha escrit:
> 
>> In our previous episode,
Martin Schreiber said: 
>> 
>>>> basically stopped using it.
>>> Why
does Free Pascal not invent a safe "with" similar as the "with" of
MSElang?
>> The primary question is of course if there is a need for a
new construct at all. I don't know MSELang, but many new languages try
to add new baroque constructs in a desperate attempt to draw users. I
always found that doubtful.
> 
> I replied this morning about TI pascal
(ca.1979), but for some reason I
> don't see it in the list.
> 
>
Anyway
> 
>
https://archive.org/stream/bitsavers_titm990100_41473222/MP351_MPP_UsersManual#page/n183/mode/2up
[1]
> 
> Bye

 

Links:
------
[1]
https://archive.org/stream/bitsavers_titm990100_41473222/MP351_MPP_UsersManual#page/n183/mode/2up
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to