Sure, I don't usually optimize my own code to the extent of worrying about individual allocations so I'll take your word for it that it's better to keep the array around.