[fpc-pascal] [PATCH] Addition of OnNotify event on "TFPGObjectList" and "TFPGList" triggered on the insert, delete and extract methods.

Serguei TARASSOV serge at arbinada.com
Sat Feb 20 11:04:28 CET 2016


On 19/02/2016 20:20, fpc-pascal-request at lists.freepascal.org wrote:
> Date: Fri, 19 Feb 2016 14:24:30 +0100
> From: Sven Barth<pascaldragon at googlemail.com>
> To: FPC-Pascal users discussions<fpc-pascal at 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"<silvioprog at 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



More information about the fpc-pascal mailing list