2 ms·
0-based: you're offsetting. In C, you're offsetting a base address by a multiple of sizeof(item). 1-based: you're numbering. In Lua, an array is an optimizatio
by JulianMorrison 13y ago
0-based: you're offsetting. In C, you're offsetting a base address by a multiple of sizeof(item).
1-based: you're numbering. In Lua, an array is an optimization of a hash, and the items inserted without explicit keys are numbered one, two, three…