From: Hendrik Boom <hendrik@topoi.pooq.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Do we have a B-tree implementation in ocaml?
Date: Tue, 10 Nov 2015 18:11:02 -0500 [thread overview]
Message-ID: <20151110231102.GB21257@topoi.pooq.com> (raw)
In-Reply-To: <20151110143714.GJ8217@nunchakus.loria.fr>
On Tue, Nov 10, 2015 at 03:37:14PM +0100, Simon Cruanes wrote:
> I also have a weight-balanced tree implementation (quite experimental,
> but there are tests), in containers.data: `CCWBTree`
> (http://cedeela.fr/~simon/software/containers/CCWBTree.S.html).
> It should provide all the operations you ask for in O(log(n)), and takes
> a total order as a parameter.
Just wondering -- are these trees in evanescent RAM or on persistent
disk storage? If the latter, do they do sufficient locking?
-- hendrik
>
> Cheers,
>
> Le Wed, 04 Nov 2015, Francois Berenger a écrit :
> > I am looking for even a simple implementation with at
> > least the following operations:
> >
> > insert/add, remove, mem/contains and at_rank.
> >
> > The at_rank is especially important since it is inefficient
> > to implement it using fold in a set like the ones from the stdlib.
> >
> > Thanks a lot,
> > F.
>
>
> --
> Simon Cruanes
>
> http://weusepgp.info/
> key 49AA62B6, fingerprint 949F EB87 8F06 59C6 D7D3 7D8D 4AC0 1D08 49AA 62B6
prev parent reply other threads:[~2015-11-10 23:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 17:39 Francois Berenger
2015-11-05 10:34 ` Frédéric Bour
2015-11-06 21:04 ` Tom Ridge
2015-11-10 14:37 ` Simon Cruanes
2015-11-10 23:11 ` Hendrik Boom [this message]
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=20151110231102.GB21257@topoi.pooq.com \
--to=hendrik@topoi.pooq.com \
--cc=caml-list@inria.fr \
/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