07-03-2020 09:55 PM
Thank you so much for this sir 🥺🙏🏻
12-17-2024 05:39 PM
Memory management is a reason to use insert int an array instead of build array. Used to be that if you did build array that the behind the scenes labview code would copy the entire array to a new array with the new array element to grow the array. After awhile memory gets fragmented and the process takes longer and longer.
If the memory is pre-allocated and then populated with Insert Into Array, then there isn't any memory management delay.
Good Luck
12-18-2024 06:59 AM
@Drewski wrote:
Memory management is a reason to use insert int an array instead of build array. Used to be that if you did build array that the behind the scenes labview code would copy the entire array to a new array with the new array element to grow the array. After awhile memory gets fragmented and the process takes longer and longer.
Insert Into Array also causes a memory allocation for the larger array, just like Build Array.
@Drewski wrote:
If the memory is pre-allocated and then populated with Insert Into Array, then there isn't any memory management delay.
Perhaps you mean to use Replace Array Subset, which will work in place with a pre-allocated array.