lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 3 May 2006, Chris Marrin wrote:

The only important thing to note here is that Lua is NOT an inherantly
1-based language.

That relies on pedantry: the string library IS inherently 1-based.

I use 0 based arrays all the time.

This is an interesting point, though since non-positive numbers never get into the array part of a table, there's a performance bias towards 1-based arrays.

--
http://rrt.sc3d.org/ | certain, a.  insufficiently analysed