From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 686B9BC6B for ; Thu, 29 Nov 2007 09:55:34 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPYMTkfCTtudk2dsb2JhbACBW41qAQEBAQcKCSA X-IronPort-AV: E=Sophos;i="4.23,228,1194217200"; d="scan'208";a="6300330" Received: from 157.219-78-194.adsl-static.isp.belgacom.be (HELO decis.be) ([194.78.219.157]) by mail3-smtp-sop.national.inria.fr with ESMTP; 29 Nov 2007 09:55:32 +0100 Received: from [192.168.0.30] by decis.be (MDaemon PRO v9.6.3) with ESMTP id md50001091186.msg for ; Thu, 29 Nov 2007 09:54:16 +0100 Message-ID: <474E7E4D.6090401@decis.be> Date: Thu, 29 Nov 2007 09:54:37 +0100 From: =?ISO-8859-1?Q?Fr=E9d=E9ric_van_der_Plancke?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: rajb@rice.edu, caml-list@yquem.inria.fr Subject: Re: [Caml-list] Disabling the OCaml garbage collector References: <474C48C5.708@starynkevitch.net> <474DADF7.5020204@rice.edu> In-Reply-To: <474DADF7.5020204@rice.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-Sender: fplancke@decis.be X-MDRemoteIP: 192.168.0.30 X-Return-Path: fvdp@decis.be X-Envelope-From: fvdp@decis.be X-MDaemon-Deliver-To: caml-list@yquem.inria.fr Reply-To: fvdp@decis.be X-MDAV-Processed: decis.be, Thu, 29 Nov 2007 09:54:17 +0100 X-Spam: no; 0.00; plancke:01 ocaml:01 suffices:01 refcount:01 refcount:01 garbage:01 wrote:01 caml-list:01 python:03 python:03 frederic:03 frederic:03 raj:05 cycles:06 object:09 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