On Wed, 11 May 2016, Florian Klämpfl wrote:
Am 11.05.2016 um 14:12 schrieb Maciej Izak:
2016-05-11 13:46 GMT+02:00 Michael Van Canneyt <mich...@freepascal.org
<mailto:mich...@freepascal.org>>:
Anything the compiler needs *must* be in the system unit. The compiler
should only assume the system unit, possibly objpas or macpas or so.
All the rest should remain out of the RTL, which should be as small as
possible. So rtl-generics is your best bet. Even the classes unit is better
outside the rtl, but I think Marco is reluctant to remove it.
I have remarked on this before: this tight dependency you are creating is
very worrying.
FPC team is very selective and with double standards and that is very worrying.
For example fgl
module is part of RTL
Actually, once classes should again use fgl for the TList etc. implementations.
This was already
done, but reverted again. I do not remember the reason though.
10% Speed penalty. Generics code is slower.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal