<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/a64bd700deb07acf9ea74cea02719abc"
  from="Harrison, John R &lt;johnh@i...&gt;"
  author="Harrison, John R"
  date="2003-11-12T03:54:00"
  subject="RE: [Caml-list] Efficient and canonical set representation?"
  prev="2003/11/4a8990a1ef715e68cd8d34483ae5ee9b"
  next="2003/11/1fe5b5ba52832d0fd87f732a6e85128c"
  next-in-thread="2003/11/c5fcaf8bc45d7d0e3633ec3c39259218"
  prev-thread="2003/11/978db28d889e2aac657b467588e07c8c"
  next-thread="2003/11/1fe5b5ba52832d0fd87f732a6e85128c"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="RE: [Caml-list] Efficient and canonical set representation?">
<msg 
  url="2003/11/a64bd700deb07acf9ea74cea02719abc"
  from="Harrison, John R &lt;johnh@i...&gt;"
  author="Harrison, John R"
  date="2003-11-12T03:54:00"
  subject="RE: [Caml-list] Efficient and canonical set representation?">
<msg 
  url="2003/11/c5fcaf8bc45d7d0e3633ec3c39259218"
  from="Brian Hurt &lt;bhurt@s...&gt;"
  author="Brian Hurt"
  date="2003-11-12T06:51:18"
  subject="RE: [Caml-list] Efficient and canonical set representation?">
</msg>
</msg>
</thread>

<contents>
| I've been batting around ideas for ways to do balanced trees so that no 
| matter what order you add things, you always get the same tree.  But even 
| assuming you could do this, doing a structural compare is still O(N).  So 
| you might as well let the trees be different.

Right, but see my second message --- I'm only interested in canonicity
up to structural equality and I'm happy with O(N) comparison. So it's
just the "no matter what order you add things you get the same tree"
property that I care about. But it's not yet obvious to me whether I
can even achieve that much.

John.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

