in reply to Re^2: Better way to do this
in thread Better way to do this
I need a faster way
Well. The easiest way to make code run faster, is to avoid doing things that don't need need to be done.
Reverseing an element array doesn't take very long, but since it makes no difference to the program, why bother.
I think that there are two or three things that could be changed to speed things up, one by a substantial amount; if I've correctly guessed the purpose of your code.
But since you seem reluctant explain the logic of your code, I've no way to assess the possibilities one way or another.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Better way to do this
by PetreAdi (Sexton) on Feb 20, 2016 at 22:52 UTC | |
by Laurent_R (Canon) on Feb 20, 2016 at 23:42 UTC | |
by Laurent_R (Canon) on Feb 20, 2016 at 23:54 UTC |