lua-users home
lua-l archive

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


> As I understand it, erasing never causes a structure to get smaller. I forget which operations will cause a structure to compact.

When the table resizes (as a result of adding new elements) it can go
larger or smaller, depending on the number of actual keys being used.

-- Roberto