Browse thread
[Caml-list] Suggestion about balanced trees in stdlib
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2002-05-11 (07:21) |
From: | Stefano Zacchiroli <zack@c...> |
Subject: | Re: [Caml-list] Suggestion about balanced trees in stdlib |
On Fri, May 10, 2002 at 04:05:58PM -0700, Alexander V.Voinov wrote: > > I don't know how the compiler treat unit values wrt optimization or > > such, but using an unit in each node to emulate Set seems to me > > inefficient for a module of the standard library. > > Is 1 (integer one) better? :-) No, is the same, they are both unboxed integers. Cheers. -- Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney ------------------- 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