Hello Stephen,
Memory allocation is probably revised at each steps, as I
understand. Memory is allocated at first step of loop, but
also newly allocated at each steps....
You could get accurate information by comparison test run
of Replace Array Elements and Build Array. The former is
less run-time consuming than the latter because of without
memory re-allocation.
Thanks in advance,
Tom (Tomoya ITO)
Stephen Gray wrote:
> Memory question:
>
> If I have an array of numerical constants inside of a while loop that
> runs continuously, does memory for that array get allocated each
> iteration? Should I move it outside of the while loop?
>
> thanks,
> stephen