c_tali
asked on
passing an array by value
I am writing some code with a deep recursion, and i have to pass down bi-dimensional arrays, which change through the recursion. I now pass the array be Ref, and at the begining of the function, copy and change as necessary. It takes a long time and a lot of memory.
what good way is there to do so?!
Another thing - while the function is being evaluated, i have a clock that is supposed to time the function, but it seems as though the function blocks the clock, and it doesn't move...
help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
backup arrays outer top recursion call, if you can ignor changes in every recursion
Hi c_tali,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept acperkins@devx's comment(s) as an answer.
c_tali, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept THIS comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept acperkins@devx's comment(s) as an answer.
c_tali, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept THIS comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer