[fpc-pascal]TObjectList.free
Matt Emson
memsom at interalpha.co.uk
Sun Feb 15 00:20:32 CET 2004
> I fixed this. The problem was that the behaviour of Borland's TList
changed
> - it got (a lot!) slower. In older TList implementations TList.Clear
didn't
> do anything except free the memory for the list elements.
> Now it calls Notification for all elements in the list, which is a time
> consuming task.
Yes, but this is actually cool though because you can get event based
notifications when any element is removed. That's why they did it.
Matt
More information about the fpc-pascal
mailing list