comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: A suggestion for resource management
Date: Mon, 23 Aug 2010 18:22:00 -0500
Date: 2010-08-23T18:22:00-05:00	[thread overview]
Message-ID: <i4uvqr$66n$1@munin.nbi.dk> (raw)
In-Reply-To: 8739u73c6l.fsf@mid.deneb.enyo.de

"Florian Weimer" <fw@deneb.enyo.de> wrote in message 
news:8739u73c6l.fsf@mid.deneb.enyo.de...
...
> You need escape analysis or inter-procedural scalar replacement to
> eliminate the tag.  But it certainly can be done, and the additional
> word will not hurt in all but the most extreme cases.

Why would you bother? The tag itself isn't very large and exists once per 
type. The tag component is usually a word or two per object; it isn't going 
to matter unless there are 10s of thousands of objects. (And if there *are* 
10s of thousands of objects, the overhead of finalizing the objects, no 
matter what you call it [such as calling Close in this example], is going to 
be a much greater problem. Tiny, common objects can't require cleanup, 
period.)

                      Randy.





  parent reply	other threads:[~2010-08-23 23:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-21 16:20 A suggestion for resource management Florian Weimer
2010-08-21 19:07 ` Dmitry A. Kazakov
2010-08-21 19:47   ` Florian Weimer
2010-08-21 20:53     ` Dmitry A. Kazakov
2010-08-21 21:09       ` Florian Weimer
2010-08-22  6:40         ` Dmitry A. Kazakov
2010-08-23 23:22         ` Randy Brukardt [this message]
2010-08-21 20:34 ` Niklas Holsti
2010-08-21 21:01   ` Florian Weimer
2010-08-22 10:53     ` Niklas Holsti
2010-08-22 15:29       ` Florian Weimer
2010-08-22 16:12       ` Florian Weimer
2010-08-23 12:25         ` Niklas Holsti
2010-09-04 19:09           ` Florian Weimer
2010-09-07 10:14             ` Niklas Holsti
2010-08-22 11:32     ` Georg Bauhaus
2010-08-23 23:37       ` Randy Brukardt
2010-08-22 13:09 ` stefan-lucks
2010-08-22 14:30   ` Florian Weimer
2010-08-22 15:09   ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox