On Wed, Jun 5, 2019 at 11:11 AM Sven Barth via fpc-devel <
fpc-devel@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.)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to