Fill up an array takes to long time

Hy :slight_smile:

I have a couple of arrays wich are consists more than 1.00.000 elemnts and when I fill up this array with datas it takes too long time.

I use for loop to fill the array, and in the loop body I use the Add function. I also tried to set the array’s size first with the resize function and after that I use the set element in the body of the for loop. But both methods are slow. Sometimes the set element method is much more slower (x10 times).

To get the array elements are slow too.

There is any solution for it?