caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Set union/inter/diff efficiency
@ 2005-07-27  9:12 Jon Harrop
  2005-07-27  9:42 ` [Caml-list] " Diego Olivier Fernandez Pons
  2005-07-27 16:04 ` james woodyatt
  0 siblings, 2 replies; 5+ messages in thread
From: Jon Harrop @ 2005-07-27  9:12 UTC (permalink / raw)
  To: caml-list


Does anyone have any ideas or references on how the union/inter/diff functions 
of the Set module could be optimised by accepting a sequence of sets rather 
than a pair at a time? For example, if A overlaps B overlaps C but A does not 
overlap C then it is probably quicker to compute the union "(A U C) U B" 
rather than "A U B U C".

Better still, does anyone have a replacement Set module which implements this 
functionality?

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-27 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-27  9:12 Set union/inter/diff efficiency Jon Harrop
2005-07-27  9:42 ` [Caml-list] " Diego Olivier Fernandez Pons
2005-07-27 16:04 ` james woodyatt
2005-07-27 17:00   ` james woodyatt
2005-07-27 17:32     ` james woodyatt

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).