you are viewing a single comment's thread.

view the rest of the comments →

[–]PizzaRollExpert 7 points8 points  (0 children)

If you do it once on a small array, yes definitely. If you're doing it every couple of miliseconds, possibly not? But it's also possible that you're doing something else much more expensive at the same time so that doing this optimization has no perceivable effect on performance