[fpc-devel] Standard generic classes

Michael Van Canneyt michael at freepascal.org
Wed Jun 5 14:33:30 CEST 2019



On Wed, 5 Jun 2019, J. Gareth Moreton wrote:

> Still, saying all that, maybe there's room for improvement in rtl-generics in 
> the form of refactoring, like I've found in the compiler itself in a few 
> places.  When you say 'heavyweight', do you mean it's a little slow sometimes 
> or just very bulky when it comes to code size? (Taking a brief look at 
> rtl-generics, there are a lot of classes!)


rtl-generics is meant to be Delphi compatible, so be careful.
Also, Maciej did his best to make it as fast as possible. I doubt you can
improve his code.

If you want to make improvements, I think fcl-stl and fgl units are more amenable to that.

Michael.


More information about the fpc-devel mailing list