in reply to Re: Performance problem with Clone Method
in thread Performance problem with Clone Method
Thanks for the advice, I will be sure to try that tomorrow when I get a chance to make the modifications.
From my understanding of copy on write, I would only truly copy the data when it is being modified not before. Unfortunately, the algorithm I am working with is constantly modifying the matrices so I don't think copy on write would work. Basically, the algorithm enumerates the matrices in a depth first scheme and once it exhausts one branch of the search tree, loads a stored copy of the matrix to try a different branch. I am generating these stored copies using clone.
Thankyou for the advice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Performance problem with Clone Method
by thirdm (Sexton) on Jul 26, 2011 at 23:47 UTC | |
by Commandosupremo (Novice) on Jul 27, 2011 at 00:48 UTC |