Browse thread
Re: [Caml-list] mark_slice, sweep_slice, oldify
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-09-22 (18:24) |
From: | John Max Skaller <skaller@m...> |
Subject: | Re: [Caml-list] mark_slice, sweep_slice, oldify |
Chris Hecker wrote: [GC/games] BTW: the 'amount of time' spent collecting is almost certainly irrelevant to a real time game: what's important is the _distribution_ of the collection operation over time: it's OK to spend half you time collecting, as long as its the same amount of time every frame (rather, less than the available time). So you probably want to force minor collections often. To put this another way: performance == worst case delay (So you need to minimise the maximum computation time between frames, not the total fraction of time spent collecting). -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr