LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best indexing way for parallel loops with in place element structure inside


@crossrulz wrote:

chembo wrote:

There is one in the In Place Element structure in the second loop with the shift register. Well, long name: Array Index / Replace Elements Border Node. It creates a buffer allocation.


It doesn't make a copy of the data.  That operation is happening in the memory location of that array index.  The Buffer Allocation is likely just a pointer.


OK, this is good to know. Is this statement also true when the size of the array element at this index changes, for example if you add elements to the Y-array?

0 Kudos
Message 11 of 12
(883 Views)

If there are changes to the array size, then there will be a new memory allocation on the writing of the element.  There is not really any way around that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 12
(879 Views)