Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Frédéric