Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Sets and maps over integers implemented as Patricia trees
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-Christophe Filliatre <filliatr@c...>
Subject: Sets and maps over integers implemented as Patricia trees

Hello ocamlers,

I recently implemented sets and  maps over integers as Patricia trees,
following a paper by Chris Okasaki.

These are much more efficient than the standard library AVLs regarding
accesses  and merges.  (Only  a sequential  insertion  of elements  is
slower, actually.)

The code is available here, under LGPL:

== francais ================================================================

Je  mets à  disposition une  implantation efficace  d'ensembles  et de
dictionnaires sur le type int, réalisée à partir d'arbres de Patricia,
selon un papier de Chris Okasaki.

Le code, distribué sous licence LGPL, est disponible ici:

Jean-Christophe Filliatre    
  Computer Science Laboratory   Phone (650) 859-5173
  SRI International             FAX   (650) 859-2844
  333 Ravenswood Ave.           email
  Menlo Park, CA 94025, USA     web