[fpc-devel] Some thoughts about TFPList

Dean Zobec dezobec at tin.it
Tue May 3 22:07:21 CEST 2005


Michael Van Canneyt wrote:

>
>
> On Mon, 2 May 2005, pascalive wrote:
>
>> I noticed that TFPList class was added in cvs version as a way to get 
>> rid of Notify performance penalty. I suggest to remove TFPList.Grow 
>> method since its only for Delphi compability (but Delphi doesnt have 
>> TFPlist) and AFAIK virtual methods add some degree of performance hit.
>
>
> I'd prefer to make it a normal static routine.

But it does nothing and does not get called.
When introducing TFPList it slipped through when I copied the interface 
from TList.
So I think in TFPList could be safely removed.
Otherwise it could be misleading.

Dean




More information about the fpc-devel mailing list