Quote Originally Posted by techgnome View Post
It doesn't alter the array in any way... so what is it supposed to be doing?
No, the array gets shrinked one by one.
This way it releases memory.
While erase doesn't.
And takes very long as well.