On 06/08/2018 10:52 AM, Flaze07 wrote:
ah...well thank you, well...I did finds another way, but it is probably better to use linearRemove
I used
arr = make!( Array!uint )( remove( arr[], 2 );
so linearRemove is probably better

Instead of creating a new array, you could update the length of the existing one:

    arr.length = remove(arr[], 2).length;

But linearRemove is probably clearer.

Reply via email to