[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua's GC
- From: paul@...
- Date: Wed, 12 Jun 2002 00:08:16 +0800
On Tue, Jun 11, 2002 at 09:48:54AM -0600, Joshua Jensen wrote:
> > FWIW, I got a good speedup by implementing my own pooling
> > memory allocator. My implementation was rather naive, but it
> > still cut my gc times in half, so this is a bottleneck worth
> > investigating, no matter what gc algorithm Lua ends up using.
>
> And I had a pooled allocator, but I still had 60 millisecond GC hiccups
> in the middle of the real-time loop, because so much was scripted. So,
> it's not enough.
You were lucky, I had about 1 second pause during GC in my game. Ouch! I
managed to reduce it down to average 80-90, but still, not good enough.
That was why I started incremental hacking without a hesitate, but
it turned out to be more tricky than I had expected.
Regards,
.paul.