Tomek Sowiński wrote:
const(FAQ) says: When doing a deep copy of a data structure, the
invariant portions need not be copied.
I'm trying to imagine what code would benefit from such optimization.
immutable struct Large { whole lotta data... }
struct Other { Large l; }
void
Dnia 09-12-2009 o 09:54:33 Lutger lutger.blijdest...@gmail.com
napisał(a):
Tomek Sowiński wrote:
const(FAQ) says: When doing a deep copy of a data structure, the
invariant portions need not be copied.
I'm trying to imagine what code would benefit from such optimization.
immutable struct
const(FAQ) says: When doing a deep copy of a data structure, the
invariant portions need not be copied.
I'm trying to imagine what code would benefit from such optimization.
immutable struct Large { whole lotta data... }
struct Other { Large l; }
void funkcja(Large s); // no reference
On Wed, 09 Dec 2009 01:18:46 +0100, Tomek Sowiński j...@ask.me wrote:
const(FAQ) says: When doing a deep copy of a data structure, the
invariant portions need not be copied.
I'm trying to imagine what code would benefit from such optimization.
immutable struct Large { whole lotta data... }