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

Sven Barth pascaldragon at googlemail.com
Sat Feb 20 00:04:50 CET 2016


Am 19.02.2016 20:47 schrieb "silvioprog" <silvioprog at gmail.com>:
>
> On Fri, Feb 19, 2016 at 4:20 PM, Sven Barth <pascaldragon at googlemail.com>
wrote:
> [...]
>
>> It doesn't matter whether it is requested over here or on Mantis. I'm
against adding notifications to the generic lists, because that will
degrade their performance.
>
> Can you send little bit sample showing this degradation? I can inform him
to not send the patch because this problem. (I think that him isn't
registered here in the list yet)

There's no need for a sample. This degradation is the whole reason why the
non-generic classes TFPObjectList and TFPList exist compared to TObjectList
and TList which do have notifications.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160220/55c3e51e/attachment.html>


More information about the fpc-pascal mailing list