On Fri, 29 Jun 2018 19:11:14 +0200 (CEST) Michael Van Canneyt <mich...@freepascal.org> wrote:
> On Sat, 30 Jun 2018, Thorsten Engler wrote: > > >> -----Original Message----- > >> From: fpc-devel <fpc-devel-boun...@lists.freepascal.org> On Behalf Of > >> Michael Van Canneyt > >> Sent: Saturday, 30 June 2018 01:07 > >> To: FPC developers' list <fpc-devel@lists.freepascal.org> > >> Subject: Re: [fpc-devel] Managed Types, Undefined Bhaviour > >> > >> what does this demo actually demonstrate other than that the compiler > >> functions ? > > > > That there is a difference between "functions correctly" and "performs > > well"? > > Please explain. Exactly how does it demonstrate this ? Functions correctly: _AddRef is called for each interface reference and _AddRef and _Release are balanced. Performs well: need only 3 _AddRef instead of 6 Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel