From: Gerd Stolpmann <gerd@gerd-stolpmann.de>
To: Hugo Ferreira <hmf@inescporto.pt>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Cache algorithms: implementation or library available?
Date: Wed, 23 Sep 2009 14:54:35 +0200 [thread overview]
Message-ID: <1253710475.32466.4.camel@flake.lan.gerd-stolpmann.de> (raw)
In-Reply-To: <4AB8A6F1.7090802@inescporto.pt>
Maybe the Wink cache server is interesting for you:
http://oss.wink.com/cache/
It is an LRU cache with a maximum size, and entries can also expire by
time. If you are more looking for a local cache module, you can pick the
relevant parts out of the cache_server.ml implementation.
Gerd
Am Dienstag, den 22.09.2009, 11:29 +0100 schrieb Hugo Ferreira:
> Hello,
>
> I would like to know if anyone has or knows of an Ocaml
> library or open-source code implementation of some cache
> algorithms (example: least recently used).
>
> Basically I need to cache a function that maps a list
> of ordered integers into a value (float, integer). I
> would like something that allows setting a maximum size
> of the map and automatically discards the data.
>
> Any pointers are appreciated.
>
> TIA,
> Hugo F.
>
>
>
> _______________________________________________
> 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
>
--
------------------------------------------------------------
Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany
gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de
Phone: +49-6151-153855 Fax: +49-6151-997714
------------------------------------------------------------
next prev parent reply other threads:[~2009-09-23 12:50 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
2009-09-24 13:14 ` Hugo Ferreira
2009-09-23 12:54 ` Gerd Stolpmann [this message]
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=1253710475.32466.4.camel@flake.lan.gerd-stolpmann.de \
--to=gerd@gerd-stolpmann.de \
--cc=caml-list@inria.fr \
--cc=hmf@inescporto.pt \
/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