[fpc-devel] Proof of Concept ARC implementation
Kostas Michalopoulos
badsectoracula at gmail.com
Mon Oct 27 17:37:09 CET 2014
On Mon, Oct 27, 2014 at 5:17 PM, Hans-Peter Diettrich <DrDiettrich1 at aol.com>
wrote:
> Then the compiler can safely generate refcounting code for *all* objects
> and non-weak references, and the counting methods take care of required
> operations
>
Wouldn't that cause all objects to "pay" (both in terms of performance and
memory) for something that they don't use? IMO it is better to fully
disallow subclasses from introducing reference counting than force
functionality on objects that they don't need to use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20141027/f414a80e/attachment.html>
More information about the fpc-devel
mailing list