I have a loop that works on one set of variables, prints a result, then iterates to work on another set of variables to give an unrelated result. Inside the loop it destroys part of the original data. I realise that I can now either preserve/restore for each iteration, or set up a frame within the loop for each iteration. Are there any technical advantages of one approach over the other? The code takes seconds to run, so I'm not worried about a minor time improvement.
-
Login or Register
- Log in with
Comment