Kagamin Wrote:
Does sutil work? http://pr.stewartsplace.org.uk/d/sutil/
> If not, you can wait for fix for bug 2742 or do it yourself.
Thank you very much for your help!Pity I can not access the link ;p
Dnia 09-12-2009 o 09:54:33 Lutger
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 Large { whole lotta data... }
Sam Hu Wrote:
> Kagamin Wrote:
>
> > Sam Hu Wrote:
> >
> > > I asked this question a couple of month ago but it is pending,is there
> > > any solution now?
> > >
> > > Thanks.
> >
> > As you know from previous discussions, there're various solutions, which of
> > them do you want?
>
> Sorry
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 f