lua-users home
lua-l archive

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


My first reaction to __siz was "what happened to the e?" but on reflection, I think that __length would be less confusing. __siz[e] of a table would intuitively (to me, anyway) indicate the total size, not the length of the contiguous array component.

This could then be made consistent between strings and tables (table.len, string.len).

R.