lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>> A couple of months ago, someone mentioned the maximum number of locals
>> that Lua can handle in a single block (iirc might have been a post
>> from Luiz). But for the life of me, I can't find this post anymore.
>> Does anyone know/remember this number (approximately)?
>
> http://www.lua.org/source/5.1/luaconf.h.html#LUAI_MAXVARS
>

Somehow that number didn't ring a bell with me, but I've now managed
to find the post I meant and it was about the max. number of constants
per function (2^18), rather than max locals... Doh... Anyway, now I
know both :) Thanks for the reply, and sorry for the noise.