|
On Thu, Jun 7, 2018 at 7:34 AM Egor Skriptunoff
<egor.skriptunoff@gmail.com> wrote:
> Every Lua table must store 8-byte integer "high water mark" (biggest non-zero positive integer key assigned).
> User can read it with function table.hwm(t)
I also think this, or something like this, should be the way to go.
For me this could become the final lua solution. Somehow similar
proposal was in http://lua-users.org/lists/lua-l/2018-03/msg00395.html
.
I really would like to hear by the lua team why this kind of solution
was discarded (I am quite sure they already examined it).