From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Renaming vs assignment to constant
Date: Fri, 6 Dec 2013 10:03:22 -0800 (PST)
Date: 2013-12-06T10:03:22-08:00 [thread overview]
Message-ID: <5be1365a-8c91-4bab-a348-f9ada7dd5a1a@googlegroups.com> (raw)
In-Reply-To: <l7ssr8$dna$1@dont-email.me>
For limited types, the constant is impossible.
For function calls, renaming gives the anonymous object a name, the constant is a copy of the anonymous object. But with optimization, the anonymous object may disappear and the constant built in place. So no difference.
For controlled types, there might be a difference (side effects).
next prev parent reply other threads:[~2013-12-06 18:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 15:14 Renaming vs assignment to constant Simon Wright
2013-12-06 16:09 ` Jeffrey Carter
2013-12-06 18:03 ` AdaMagica [this message]
2013-12-06 18:24 ` Jeffrey Carter
2013-12-06 16:47 ` adambeneschan
2013-12-06 18:06 ` Eryndlia Mavourneen
2013-12-07 0:47 ` Randy Brukardt
2013-12-07 1:55 ` Shark8
2013-12-06 18:35 ` G.B.
2013-12-06 20:07 ` adambeneschan
2013-12-06 21:59 ` Shark8
2013-12-06 23:48 ` adambeneschan
2013-12-07 1:04 ` Shark8
2013-12-07 1:26 ` adambeneschan
2013-12-07 6:17 ` J-P. Rosen
2013-12-07 6:22 ` J-P. Rosen
2013-12-07 8:57 ` Dmitry A. Kazakov
2013-12-07 9:02 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox