[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and Neko comparison
- From: "Kenneth LO" <kenlo88@...>
- Date: Fri, 22 Sep 2006 09:17:26 +0800
On 9/21/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> But lua5 lost some of its simplicity on things like a stange limit on
> loadstring and the lost of _ALERT.
Which "strange limit on loadstring"?
--lhf
I should have make it clearer.
To create a large table with
action=''a','b','c'....)
loadstring(action) -- formerly dostring
4.0.1 works perfectly well but 5.1 gives an error "main function has more than 262143 items in a constructor". I track it down to something with MAXINT or MAXARG_Bx. But I thought the only limit is the stack (from the manual or Roberto's book, can't remember). The stack is OK I'm sure.