[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: main function has more than 200 local variables
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 15 Jun 2009 12:55:48 -0300
> > I am using LUA on Handheld Pocket PC based device. When i try to load
> > a file which has around 500 local variables, the lua loadfile
> > function throws the above error?
> My understanding is that the Lua VM has a limited number of registers
> (into which locals are placed), and the compiler has no mechanism to
> spill excess elsewhere (in order to simplify the register allocator).
> I may be hopelessly confused, however.
You are not.