04-08-2015 02:08 PM
@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?
04-08-2015 02:18 PM
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.