From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Parameterless generic instance in place of opaque type instance
Date: Sun, 28 Jul 2013 10:52:57 -0400
Date: 2013-07-28T10:52:57-04:00 [thread overview]
Message-ID: <wcchafen3cm.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: op.w0w3syewule2fv@cardamome
"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:
> For these types, a parameterless generic instance may be enough. I hope
> most compilers are clever enough to not duplicate machine code for each
> of these instances, and just duplicate their data (valid or invalid
> assumption?).
Randy's compiler is clever enough to do that. In fact it shares
generic code always. There's a run-time cost to that, though.
GNAT never shares code. Most Ada compilers I'm aware of do
not share.
- Bob
prev parent reply other threads:[~2013-07-28 14:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 5:49 Parameterless generic instance in place of opaque type instance Yannick Duchêne (Hibou57)
2013-07-28 6:36 ` Yannick Duchêne (Hibou57)
2013-07-28 7:02 ` Yannick Duchêne (Hibou57)
2013-07-28 7:26 ` Yannick Duchêne (Hibou57)
2013-07-28 7:30 ` J-P. Rosen
2013-07-28 8:24 ` Yannick Duchêne (Hibou57)
2013-07-28 18:08 ` Shark8
2013-07-28 19:47 ` Yannick Duchêne (Hibou57)
2013-07-28 20:58 ` Shark8
2013-07-28 22:27 ` Yannick Duchêne (Hibou57)
2013-07-28 21:15 ` J-P. Rosen
2013-07-28 22:23 ` Shark8
2013-07-28 14:52 ` Robert A Duff [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox