[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Getting Lua limits via an api
- From: Dibyendu Majumdar <mobile@...>
- Date: Wed, 4 Nov 2015 22:00:22 +0000
On 4 November 2015 at 21:40, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> One area that I have had to change is wherever a Lua limit is
>> hardcoded. I think it may be useful to have an api function (I think
>> the ltests module has one such but it doesn't include all the limits)
>> - that the test cases could invoke to obtain the limits rather than
>> these being hardcoded.
>
> As I said in my talk, that is not a priority for me. But I can change
> that over time. Do you have a list of limits that bit you?
>
1) upvalue/locals limit in api.lua, calls.lua
2) LUAI_MAXCCALLS in errors.lua
Regards