lua-users home
lua-l archive

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


> This code:
>
> local t = {}
> for i = 1, 0x7fffffff do
> t[i] = i
> end
>
>
....
....
> And to be clear, I do not assume that Lua should have infinite tables. It
> would be good to get a regular Lua error like "table too big" when a table
> becomes too big, but not a crash.

I am not concerning about the "BUG" itself, but I hope that tables
must be limited only by the available virtual memory, not an
artificial "table too big", even for numerical keys.

-- 
Rodrigo Azevedo Moreira da Silva