lua-users home
lua-l archive

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


> While this may have been discussed many times in the past

Yep.

> While it is debatable whether Lua itself should automatically keep
track 'n'

It doesn't; only the table library uses it. However, there is a C
interface for people who want to interact with the table library.

> why not at least change the table library implementation
> to e.g. use a weak table to store the information?

It has been changed in version 5, exactly as you describe.
However, the old behaviour is still supported as well.