Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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.