[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 upvalues
- From: Anthony Howe <achowe+lua@...>
- Date: Sun, 10 Apr 2011 08:05:03 +0200
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/