[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: Next Version of Lua?
- From: Bulat Ziganshin <bulat.ziganshin@...>
- Date: Fri, 12 Jun 2009 15:03:17 +0400
Hello steve,
Friday, June 12, 2009, 2:51:33 PM, you wrote:
>> destroy. But lua userdata must live on the heap, so in Lua we are
>> forced into the slow behavior.
one more way to make gc faster - use allocation pools:
pool = makePool()
obj1 = pool:alloc(bytes1)
obj2 = pool:alloc(bytes2)
...
pool:destroy()
--
Best regards,
Bulat mailto:Bulat.Ziganshin@gmail.com
- References:
- Next Version of Lua?, Olivier Hamel
- Re: Next Version of Lua?, Olivier Hamel
- Re: Next Version of Lua?, Niklas Frykholm
- Re: Next Version of Lua?, Duncan Cross
- Re: Next Version of Lua?, Niklas Frykholm
- Re: Next Version of Lua?, Asko Kauppi
- Re: Next Version of Lua?, Niklas Frykholm
- Re: Next Version of Lua?, Asko Kauppi
- Re: Next Version of Lua?, steve donovan
- Re: Next Version of Lua?, Niklas Frykholm
- Re: Next Version of Lua?, steve donovan