in reply to Two variables changed by tr
foreach aliases into the list rather than copying. As you have 2 nested loops over the same array, half the time your two lexicals are aliases for the same item in the array.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Two variables changed by tr
by glendeni (Sexton) on Jul 03, 2024 at 19:45 UTC | |
by Danny (Chaplain) on Jul 04, 2024 at 13:23 UTC | |
|
Re^2: Two variables changed by tr
by ikegami (Patriarch) on Jul 04, 2024 at 16:20 UTC |