From: "Frédéric Gava" <gava@univ-paris12.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] More efficient implementation of intersection of sets?
Date: Wed, 02 Apr 2008 16:05:44 +0200 [thread overview]
Message-ID: <47F392B8.4040009@univ-paris12.fr> (raw)
In-Reply-To: <200804020042.02016.jon@ffconsultancy.com>
Dear John, Sasha and Caml-list
> Not likely. OCaml's implementation is already vastly more efficient than any
> other language I have ever seen (e.g. C++). Your next best bet is probably to
> parallelize the algorithm to improve the performance but that is extremely
> difficult to do without a concurrent GC. Frederic Gava did some work on this
> in OCaml. I am working on the same problem in F#.
You can have parallel sets without a concurrent GC : each processor has
a subset of your initial set and you can distribute the elements using a
hash function from element to the number of processor "p" (there is so
"p" ocaml programs that runs and thus "p" GC). A random function can be
used in general and generate a quick good load balancing.
You can have more information here :
http://lacl.univ-paris12.fr//gava/papers/gava_ppl_2008.pdf
Note, that I used our "under development library" but this work can be
done using OCaml-MPI
Frédéric G.
next prev parent reply other threads:[~2008-04-02 14:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 15:55 sasha mal
2008-04-01 23:42 ` [Caml-list] " Jon Harrop
2008-04-02 14:05 ` Frédéric Gava [this message]
2008-04-02 15:34 ` Mike Furr
2008-04-02 13:30 sasha mal
2008-04-02 14:01 sasha mal
2008-04-04 17:27 ` Brian Hurt
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=47F392B8.4040009@univ-paris12.fr \
--to=gava@univ-paris12.fr \
--cc=caml-list@yquem.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