From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA27378; Thu, 7 Mar 2002 10:21:57 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA25830 for caml-list@pauillac.inria.fr; Thu, 7 Mar 2002 10:21:56 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA04408 for ; Wed, 6 Mar 2002 11:39:27 +0100 (MET) Received: from julie.univ-savoie.fr (univax.univ-savoie.fr [193.48.120.32]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g26AdRv07893 for ; Wed, 6 Mar 2002 11:39:27 +0100 (MET) Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by julie.univ-savoie.fr (8.9.3/jtpda-5.3.3) with ESMTP id LAA19436 ; Wed, 6 Mar 2002 11:39:26 +0100 (CET) Received: from univ-savoie.fr (www.lama.univ-savoie.fr [193.48.123.134]) by post.bourget.univ-savoie.fr (8.12.0.Beta7/jtpda-5.4) with ESMTP id g26AdMGE007760 ; Wed, 6 Mar 2002 11:39:22 +0100 Message-ID: <3C85F1DD.6CD1010@univ-savoie.fr> Date: Wed, 06 Mar 2002 11:39:25 +0100 From: Christophe Raffalli X-Mailer: Mozilla 4.78 [fr] (X11; U; Linux 2.4.8-26mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 To: Dave Mason CC: Charles Martin , caml-list@inria.fr Subject: Re: [Caml-list] Weak hash table References: <200203052224.g25MOFF16528@sarg.ryerson.ca> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Sorry, my last mail may be wrong ! The semantics of weak pointer are just some kind of cache where value can be erased at any time by the GC. The kind of weak array you need is array where value are erased by the GC if and only if the value is not pointed from outside the weak array. That is the mark phase of the GC does not traverse weak array. -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners