In response to your first question, yes, all the matrices are the same size and in response to the second, maybe, but I do not know how I could easily do that.
However, I can easily figure out the maximum number of branches and since I know the size of each matrix (since they are all the same) I believe that it would be possible to pre-allocate them as you suggested.
In reply to Re^4: Performance problem with Clone Method
by Commandosupremo
in thread Performance problem with Clone Method
by Commandosupremo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |