in reply to Re: faster way for multiple foreach loops
in thread faster way for multiple foreach loops
Your inner loop is iterating over all of the items in @list1, and even going well beyond the end of the list,
No it doesn't. It reads @list1 three at a time from start to end over and over again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: faster way for multiple foreach loops
by MidLifeXis (Monsignor) on Jan 03, 2009 at 14:15 UTC |