[fpc-devel] for-in-index loop

Sven Barth pascaldragon at googlemail.com
Sun Jan 27 21:39:16 CET 2013


On 27.01.2013 20:46, luiz americo pereira camara wrote:
>> What would have been more
>> interesting is the performance of the generated code compared with e.g. a
>> TStringList or a TObjectList.
>
> Independent of the performance, what's the benefit of replacing the
> current implementation by one based in generic?
>
> AFAIK none. It would just require more work, resulting in bigger and slower code

I'm not saying that we should replace the code in Classes by generics. 
I'm just interested in how generics perform compared to non-generic 
"generic" classes.

Regards,
Sven



More information about the fpc-devel mailing list