caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven <luther@dpt-info.u-strasbg.fr>
To: Florian Hars <florian@hars.de>
Cc: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>,
	"Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl>,
	caml-list@inria.fr
Subject: Re: [Caml-list] Specialized dictionaries
Date: Mon, 5 Nov 2001 18:54:39 +0100	[thread overview]
Message-ID: <20011105185439.A7781@dpt-info.u-strasbg.fr> (raw)
In-Reply-To: <20011105183653.A15329@hars>; from florian@hars.de on Mon, Nov 05, 2001 at 06:36:54PM +0100

On Mon, Nov 05, 2001 at 06:36:54PM +0100, Florian Hars wrote:
> On Mon, Nov 05, 2001 at 11:32:51AM +0100, Jean-Christophe Filliatre wrote:
> > Marcin 'Qrczak' Kowalczyk writes:
> >  > I need dictionaries indexed by ints which must be very fast.
> > 
> > To be  even more efficient, I'm  afraid you have to  follow your idea,
> > that is to inline this hash function in your own copy of hashtbl.ml.
> 
> Wouldn't the Patricia Trees (from the 
> "the-name-of-the-author-currently-escapes-me"-department :-)) mentioned on 
> http://www.lri.fr/~filliatr/software.en.html be useful in this case (unless 
> the problem needs the in-place update available with Hashtbl)? 
> The documentation claims that "The
>     performances are always better than the standard library's module
>     [Set], except for linear insertion (building a set by insertion of
>     consecutive integers)."

The standard library [Set] is a functional B tree, if i am not wrong, it is
quite fast, but depending on the apps, it will not be faster than the
hashtable, that's why we have the hashables.

Sven Luther
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-11-05 17:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-05 10:06 Marcin 'Qrczak' Kowalczyk
2001-11-05 10:19 ` Xavier Leroy
2001-11-05 10:32 ` Jean-Christophe Filliatre
2001-11-05 17:36   ` Florian Hars
2001-11-05 17:54     ` Sven [this message]
     [not found]   ` <9s6j7c$i6r$1@qrnik.zagroda>
2001-11-05 18:18     ` Marcin 'Qrczak' Kowalczyk
2001-11-05 18:24       ` Nicolas George
     [not found]       ` <9s6m53$k16$1@qrnik.zagroda>
2001-11-05 20:56         ` Marcin 'Qrczak' Kowalczyk
2001-11-06  6:53           ` Sven
2001-11-06  0:35         ` Marcin 'Qrczak' Kowalczyk
     [not found] ` <9s5pe7$5k6$1@qrnik.zagroda>
2001-11-05 11:49   ` Marcin 'Qrczak' Kowalczyk
2001-11-05 23:40 ` Julian Assange

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=20011105185439.A7781@dpt-info.u-strasbg.fr \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=Jean-Christophe.Filliatre@lri.fr \
    --cc=caml-list@inria.fr \
    --cc=florian@hars.de \
    --cc=qrczak@knm.org.pl \
    /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;
as well as URLs for NNTP newsgroup(s).