2013/1/27 Sven Barth <pascaldra...@googlemail.com>:
> On 27.01.2013 16:27, luiz americo pereira camara wrote:
>>
>>
>> I did some test with generics last year:
>> http://lazarusroad.blogspot.com.br/2012/06/cost-of-using-generics.html
>>
>> I would not use in classes unit
>
>
> That's mostly about the "duplication" problem, which is known (maybe I'll
> try to improve the situation some time).

OK

> 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

BTW: i use generic myself but mostly in application code. I avoid in
components / libraries

Luiz
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to