Performance tips on turning arrays into tuples

ntuple(i->vec[indices[i]], length(indices))

1 Like