English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Caml-list] mark_slice, sweep_slice, oldify
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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:

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     
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