English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Set union/inter/diff efficiency
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-27 (17:00)
From: james woodyatt <jhw@w...>
Subject: Re: [Caml-list] Set union/inter/diff efficiency
On 27 Jul 2005, at 09:04, james woodyatt wrote:
>     Load into a queue.
>     While queue is not empty,

Okay, a queue is the wrong idea.  The right idea would be somewhat  
trickier loop over the sequence of element sequences to catch the  
union elements in the right order.  And I neglected to mention that  
you'd need to build the result set with [Cf_set.of_incr_list].

j h woodyatt <jhw@wetware.com>
markets are only free to the people who own them.