News for hackers. Stuff that matters.
Re:Copying data is wasteful, mutating data is dangerous by ajuc on Thursday January 09, 2020 @07:49PM (#22007505)
There's a 3rd option - keeping a modifications' log and applying them all destructively on just 1 temporary copy only when the result is needed.

    A = normalized(X*b - M*N*k); //creates a pipeline
    A.calculate(); //calculates all the stages destructively on the new copy

There are no comments on this comment yet.