Use push() where it makes sense. It's faster than []=.