[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Binarytrees benchmark results
- From: Linker <linker.m.lin@...>
- Date: Tue, 8 Dec 2009 00:18:45 +0800
In my opinion, the best GC is a stopped GC.
So, we can just halt lua's GC for a while, then restart it when system load is low.
On Tue, Dec 8, 2009 at 00:07, KHMan <email@example.com>
Alex Queiroz wrote:
On Mon, Dec 7, 2009 at 3:43 PM, Linker wrote:
On Mon, Dec 7, 2009 at 22:30, Mike Pall wrote:
But neither is a substitute for a bump allocator. Unfortunately,
I think that a moving GC is bad for CPU which has a multi-cache modern
using such an allocator implies the need for a moving GC. The
current Lua GC is non-moving. Revising this fundamental design
choice is very complicated while keeping the current Lua/C API.
One single factor will hardly decide if a moving GC or a
mark-and-sweep one is better. Point in case, the generational GC
allocates memory faster.
To put it in another way... Data needed, otherwise it's hand-waving!!! :-) ;-)
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia