like a c# array would if you did new int[count]?
There is third parameter also in NativeArray, after allocation.
It defines, whether array will be of 0s, or undefined state. Where last is faster to allocate.
NativeArrayOptions.ClearMemory to get 0s?
Yes. That will guarantee.
1 Like
awesome, thanks.