Not sure if it’s a bug or not.
It is definitely an irritant.
[Array.with(1, 2, 3), Array.with(4, 5, 6)].lace(6)
-> [ 1, 4, 2, 5, 3, 6 ]
[FloatArray.with(1, 2, 3), FloatArray.with(4, 5, 6)].lace(6)
-> [ FloatArray[ 1.0, 2.0, 3.0 ], FloatArray[ 4.0, 5.0, 6.0 ], FloatArray[ 1.0, 2.0, 3.0 ], FloatArray[ 4.0, 5.0, 6.0 ], FloatArray[ 1.0, 2.0, 3.0 ], FloatArray[ 4.0, 5.0, 6.0 ] ]
Use case: Interleaving FloatArrays loaded from buffers. Grrrrrrr…
hjh