lua-users home
lua-l archive

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




2015-05-18 15:37 GMT+08:00 云风 Cloud Wu <cloudwu@gmail.com>:

I think the better way is use multiple lua states in server side
rather than use one large lua state.
Agree, except the overhead of some duplicated common memory(proto, stringtable, etc.)

BTW, I appreciate your common prototype solution. It would be wonderful if the stringtable
can be common among multiple Lua states, but this would make the GC difficult. Maybe
erlang's never-delete-atom solution can be considered....

Regards,
Zenk Ju