lua-users home
lua-l archive

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


I'm pleased to announce the first release of lua-conf [1] .

lua-conf can convert a lua table to a constant C object (a
lightuserdata). And then you can share it among many lua states .

The constant C object is thread safe, so you can use it in many lua
states concurrently.

If you convert a large lua table , it will reduce the memory usage of
lua vm . So the garbage collector will run faster (mark less gc
objects).

Sometimes you need reload the lua vm , the constant data in the table
don't need parser again.


[1] https://github.com/cloudwu/lua-conf

-- 
http://blog.codingnow.com