[fpc-devel] Managed Types, Undefined Bhaviour
nc-gaertnma at netcologne.de
Fri Jun 29 19:24:09 CEST 2018
On Fri, 29 Jun 2018 19:11:14 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:
> On Sat, 30 Jun 2018, Thorsten Engler wrote:
> >> -----Original Message-----
> >> From: fpc-devel <fpc-devel-bounces at lists.freepascal.org> On Behalf Of
> >> Michael Van Canneyt
> >> Sent: Saturday, 30 June 2018 01:07
> >> To: FPC developers' list <fpc-devel at 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
More information about the fpc-devel