[fpc-devel] Standard generic classes

Ben Grasset operator97 at gmail.com
Thu Jun 6 16:57:44 CEST 2019


On Wed, Jun 5, 2019 at 11:11 AM Sven Barth via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> You could try to adjust the FGL unit to use the pluggable sorting system
> introduced here:
> https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=41167
>

Wouldn't that system itself need to be generic and not just use void
pointers first? Or is that part of what you meant?

IMO something FGL would benefit from also is the removal of the
probably-not-the-best-design inheritance from non-generic TFPSList to
everything else, which prevents inlining in a large number of places (the
compiler notes indicating such are visible basically any time you use
anything from FGL.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190606/ed7442aa/attachment.html>


More information about the fpc-devel mailing list