[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Mon, 18 May 2015 20:44:02 +0800
>>
>> 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....
I have tried to shared string among states by reference count ,
but I don't think it's a good idea now.
--
http://blog.codingnow.com
- References:
- Lua's GC (Was: Comparison of numbers of 3rd party libraries, Dirk Laurie
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, zejian ju
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, Dirk Laurie
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, Roberto Ierusalimschy
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, zejian ju
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, Roberto Ierusalimschy
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, zejian ju
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, Roberto Ierusalimschy
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, zejian ju
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, 云风 Cloud Wu
- Re: Lua's GC (Was: Comparison of numbers of 3rd party libraries, zejian ju