lua-users home
lua-l archive

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



You may need to unrequire utf8:
        http://lua-users.org/lists/lua-l/2012-12/msg00883.html

So this will probably work:
        lua -e "utf8=nil package.loaded.utf8=nil collectgarbage 'collect' print(collectgarbage 'count')"


Doing that just made a difference of 0.4KB. If I comment out the utf8 library in loaded libs in linit.c that makes a difference of 1.4KB. So it seems. In addition I also tried:

>lua -e "string.pack = nil string.unpack = nil collectgarbage 'collect' print(collectgarbage 'count')"

But that didn't make any difference.