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
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: -- (:)
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 <>
markets are only free to the people who own them.