On 2016-02-19 23:04, Sven Barth wrote:
> 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.

I don't use Generics so it doesn't bother me either way. But purely from
a software design point of view, it should be quite easy to create a
list where notification can be enabled or disabled at runtime - maybe as
a parameter to the constructor or via a property. On disabling
notification there should be near zero degradation - at least not
something noticeable.

Just my 2ยข worth.


Regards,
  - Graeme -

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

Reply via email to