-- Numeric indexing kernel.
-- Same dense array shape as iter/ipairs.lua, but traversed with a numeric for loop.
localarr={}fori=1,10000doarr[i]=iendfunction_bench()localsum=0fori=1,10000dosum=sum+arr[i]endreturnsumendfori=1,250do_bench()endprint("tables/numeric_index: true")