[fpc-devel] Some thoughts about TFPList

Michael Van Canneyt michael at freepascal.org
Wed May 4 09:02:08 CEST 2005



On Tue, 3 May 2005, Dean Zobec wrote:

> 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.

Hm. I would have thought it does the same as in TList. 
OK, I've checked the source, and removed it.

Michael.




More information about the fpc-devel mailing list