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=1.5 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id C0728BBAF for ; Thu, 24 Sep 2009 15:14:36 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuoBADwNu0rVhjEXkGdsb2JhbACPWYsoAQEBAQkJDAcTA7tChBsF X-IronPort-AV: E=Sophos;i="4.44,445,1249250400"; d="scan'208";a="47197997" Received: from ihsmtp01voda.lis.interhost.com (HELO ihsmtp01cons.lis.interhost.com) ([213.134.49.23]) by mail4-smtp-sop.national.inria.fr with ESMTP; 24 Sep 2009 15:14:36 +0200 Received: from [192.168.1.64] ([77.54.228.130]) by ihsmtp01cons.lis.interhost.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Sep 2009 14:10:53 +0100 Message-ID: <4ABB70B5.4040904@inescporto.pt> Date: Thu, 24 Sep 2009 14:14:29 +0100 From: Hugo Ferreira User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Cache algorithms: implementation or library available? References: <4AB8A6F1.7090802@inescporto.pt> <4AB8B44F.6040503@ens-lyon.org> <4AB9D439.4070304@inescporto.pt> <21344828-8F8C-457A-98C4-3058D7D6DBAD@inria.fr> <9A577121-0353-4402-924B-F4653AA39016@refined-audiometrics.com> <20090923162628.E840F1B2E80@kicki.hq.vtech> In-Reply-To: <20090923162628.E840F1B2E80@kicki.hq.vtech> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 24 Sep 2009 13:10:53.0974 (UTC) FILETIME=[724E8B60:01CA3D18] X-Spam: no; 0.00; mattias:01 gerd:01 stolpmann:01 mattias:01 cuoq:01 beginner's:01 ocaml:01 bug:01 doligez:01 beginners:01 wrote:01 caml-list:01 caml-list:01 bin:01 jambon:01 Hello, I would like to thank Mattias Engdegård, Dario Teixeira, Gerd Stolpmann and Martin Jambon for their suggestions. I going through the code and article. Regards, Hugo F. Mattias Engdegård wrote: >>> The Weak module is never the right tool for implementing a cache. >> I'm not disputing this, but I would like you hear your thoughts on >> this topic. Why? > > Weak references go away at the whim of the GC, not when it would be > useful to flush the cache. A longer explanation and more about weak > references can be found in the Cuoq/Doligez article in last year's > workshop on ML (http://portal.acm.org/citation.cfm?id=1411308). > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >