i was told that using a for loop is better than using ipairs for looping through a table, it it actually true? or its basically the same or worse.
local list = {1,2,3,4,5}
--method one
for i, v in ipairs(list) do
print(i, v)
end
--method two
local length = #list
for i = 1, length do
local v = list[i]
print(i, v)
end