[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [BUG] crash in Lua on table insertion
- From: Rodrigo Azevedo <rodrigoams@...>
- Date: Thu, 11 May 2017 08:32:19 -0300
> 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