From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q24I2hTc021996 for ; Sun, 4 Mar 2012 19:02:43 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am4DAKytU09KN1ZKlWdsb2JhbABDhTSvLwEBAQEJCwkJEimBfQEBBAEjWwsLGgIYDgICPQoQIYd6BQQHpl6RGIEvjAyCDDNjBJsMjSg X-IronPort-AV: E=Sophos;i="4.73,530,1325458800"; d="scan'208";a="147446009" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail1-smtp-roc.national.inria.fr with ESMTP; 04 Mar 2012 19:02:37 +0100 Received: from heyho.local (21-234.197-178.cust.bluewin.ch [178.197.234.21]) by smtp.webfaction.com (Postfix) with ESMTP id DAA3C207BF71 for ; Sun, 4 Mar 2012 12:02:34 -0600 (CST) Date: Sun, 4 Mar 2012 19:02:30 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: caml-list@inria.fr Message-ID: <401B965366E54F59837C2424153746F7@erratique.ch> In-Reply-To: <29125AD3-36DB-42CA-AC52-71D7F236F427@strauss-acoustics.ch> References: <29125AD3-36DB-42CA-AC52-71D7F236F427@strauss-acoustics.ch> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q24I2hTc021996 Subject: Re: [Caml-list] application scope for hashtable on weak pointers Le samedi, 3 mars 2012 à 19:21, Philippe Strauss a écrit : > I have a use case for an hashtable of values who'll needs to get aged and removed after a while, That's not a good use case for weak hash tables. I explain why in this answer [1]. Best, Daniel [1] http://stackoverflow.com/questions/4933729/how-are-weak-arrays-used/4935518#4935518