John Resig - JavaScript Array Remove
@Mike: That’s, pretty much, exactly it. The cost of creating a new array is tremendous (in some crude tests that I just ran, .concat() was at least as twice as slow as using .push() – probably more). It’s interesting because we couldn’t even have used con...