lua-users home
lua-l archive

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

Dane Springmeyer <>于2016年9月29日周四 上午8:02写道:
Yes, I also tested with lua 5.3.1. The performance and memory usage was similar to 5.3.0. My complete debugging notes are 

So, it's not about string cache.
But I have no idea about 4x memory used, it's strange.

I agree, very surprising!

You may try to call "lua_gc(L, LUA_GCSETPAUSE, 400);" after init lua_State to see the difference. I guess only GC can make 4x memory used .