lua-users home
lua-l archive

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

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.