Sujet : Re: Regarding assignment to struct
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 04. May 2025, 09:01:17
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250504110117.00005aaa@yahoo.com>
References : 1 2
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Sat, 3 May 2025 21:42:37 -0400
Richard Damon <
richard@damon-family.org> wrote:
Bigger than that, and you likely want to pass the object by address,
not by value, passing just a pointer to it.
That sort of thinking is an example of Knutian premature optimization.