Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Thorsten Ohl <ohl@hep.tu-darmstadt.de>
To: caml-list@inria.fr
Subject: polymorphically comparable Maps?
Date: Mon, 22 Feb 1999 18:37:01 +0100 (CET)	[thread overview]
Message-ID: <14033.38333.652607.941379@heplix4.ikp.physik.tu-darmstadt.de> (raw)

Does anybody know of a fast data structure for (applicative)
association tables over ordered types (like Map in the standard
library) with the property that identical maps will have an identical
representation?  Sorted association lists work, but have linear access
and insertion.  Is there something logarithmical (even with an OCaml
implementation)?

Thanks,
-Thorsten

[ If anybody wonders: I want/need polymorphic comparison, because the
  Maps are part of a recursive datastructure. ]
-- 
Thorsten Ohl, Physics Department, TU Darmstadt -- ohl@hep.tu-darmstadt.de
http://heplix.ikp.physik.tu-darmstadt.de/~ohl/ [<=== PGP public key here]




             reply	other threads:[~1999-02-22 17:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-22 17:37 Thorsten Ohl [this message]
1999-02-22 18:20 ` Jean-Francois Monin
1999-02-23 16:49 ` Stefan Monnier
1999-02-23 17:28   ` Adam P. Jenkins
1999-02-23 18:10   ` Thorsten Ohl

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=14033.38333.652607.941379@heplix4.ikp.physik.tu-darmstadt.de \
    --to=ohl@hep.tu-darmstadt.de \
    --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