in reply to fast 'copy' of array to array

push accepts a list.

Why not just push the whole array at once and then drop the array you don't want?

Replies are listed 'Best First'.
Re^2: fast 'copy' of array to array
by colwellj (Monk) on Oct 29, 2009 at 22:23 UTC
    SJ, I am doing that but when we are talking about thousands or more items that's a slow method. I was hoping to find a very quick method. After all an array is really only a pointer to a list. John