Quote:
Originally Posted by The Specialist
so you would recomend using an array in a loop ? and whoever wrote that article on wiki is wrong right ? 
|
They're not wrong, you're just not reading it correctly. It didn't say to "not use arrays in loops", it said to "not
re-index arrays in loops". That doesn't apply to this, since it's only being used once inside the loop at a time.
I would recommend it, assuming it's implemented correctly.
__________________