On 19/02/2016 20:20, fpc-pascal-requ...@lists.freepascal.org wrote:
Date: Fri, 19 Feb 2016 14:24:30 +0100
From: Sven Barth<pascaldra...@googlemail.com>
To: FPC-Pascal users discussions<fpc-pascal@lists.freepascal.org>
Subject: Re: [fpc-pascal] [PATCH] Addition of OnNotify event on
        "TFPGObjectList" and "TFPGList" triggered on the insert, delete and
        extract methods.

Am 19.02.2016 12:45 schrieb "silvioprog"<silviop...@gmail.com>:
>
>Hello,
>
>I have a friend here in Brazil that added the `notify` support to the FGL
lists, however he sented it to this Github PR [1].

I'm against that. That would negatively impact the performance of these
lists.

Regards,
Sven
I agree.
Actually TFPGList has already an overhead vs TList (related tests http://arbinada.com/main/en/node/1411) and it is not a good idea to increase it.
Why not simple create subclass to implement events?

Regards,
Serguei
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to