2013/1/27 Sven Barth <pascaldra...@googlemail.com>: > 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. >
OK. Just to be clear, i'm no against having generic at all. I even added a bugreport requesting a feature and would be happy of having the Delphi generic classes (TList<>, TDictionary) implemented Luiz _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel