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
Disabling the OCaml garbage collector
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-29 (08:55)
From: Frédéric_van_der_Plancke <fvdp@d...>
Subject: Re: [Caml-list] Disabling the OCaml garbage collector
Raj wrote:
> The Python GC is very simple, based on reference counts, hence (I 
> think) it suffices just to make sure that any object has a refcount > 
> 0 to keep the Python GC off.
No, besides doing basic refcounting, the Python GC is also able to 
collect cycles despite of refcount > 0.
I don't know the details you better ask the Python list.