Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Mattias Engdegård" <mattias@virtutech.se>
To: dbm@refined-audiometrics.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Cache algorithms: implementation or library available?
Date: Wed, 23 Sep 2009 18:26:28 +0200 (CEST)	[thread overview]
Message-ID: <20090923162628.E840F1B2E80@kicki.hq.vtech> (raw)
In-Reply-To: <9A577121-0353-4402-924B-F4653AA39016@refined-audiometrics.com> (message from David McClain on Wed, 23 Sep 2009 08:19:37 -0700)

>> 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).


  reply	other threads:[~2009-09-23 16:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 10:29 Hugo Ferreira
2009-09-22 11:26 ` [Caml-list] " Martin Jambon
2009-09-23  7:54   ` Hugo Ferreira
2009-09-23  7:58     ` Hugo Ferreira
2009-09-23 15:09     ` Damien Doligez
2009-09-23 15:19       ` David McClain
2009-09-23 16:26         ` Mattias Engdegård [this message]
2009-09-24 13:14           ` Hugo Ferreira
2009-09-23 12:54 ` Gerd Stolpmann
2009-09-23 14:11   ` Jan Kybic
2009-09-23 15:02 ` Dario Teixeira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090923162628.E840F1B2E80@kicki.hq.vtech \
    --to=mattias@virtutech.se \
    --cc=caml-list@inria.fr \
    --cc=dbm@refined-audiometrics.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox