[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 10 LOC program is too complex to be compiled
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 27 Apr 2015 13:51:32 -0300
> Big 2D array constructors are used frequently, so using > 100 local
> variables should be
> considered as dangerous.
Small detail: the current limit for registers is 250. (I don't know why
it is not 255; we probably will correct that.) Local variables is limited
at 200 exactly to leave room for (1D) constructors.
Note that you can use "do end" blocks to limit the scope of local
variables, when possible. (The limit is 200 variables *alive at the
same time*, not 200 variable declarations.)