> On the downside: the registry table can never shrink. Once you use a > million references those 12-16 million bytes will stay allocated until > the lua_State object is destroyed. Not if you use luaL_unref to release references. --lhf