lua-users home
lua-l archive

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


On 09/04/2011 00:59, Robert G. Jakabosky whispered from the shadows...:
> lua_newtable(L);
> lua_pushvalue(L, -1);
> lua_pushcclosure(L, &foobar, 1);
> lua_pushvalue(L, -2);
> lua_pushcclosure(L, &barblat, 1);
> lua_remove(L, -3);

I just realised that there is a C function upvalue limit of 256, which
is isn't sufficient for a network application to scale to 1000's of
connections in theory.


-- 
Anthony C Howe            Skype: SirWumpus                  SnertSoft
                        Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/