From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA28442; Sat, 11 May 2002 09:21:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA28606 for ; Sat, 11 May 2002 09:21:07 +0200 (MET DST) Received: from mailrelay1.inwind.it (mailrelay1.inwind.it [212.141.54.101]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4B7L6n25664 for ; Sat, 11 May 2002 09:21:07 +0200 (MET DST) Received: from dalamar.takhisis.org (62.98.147.36) by mailrelay1.inwind.it (6.5.015) id 3CAA37A301B22E9C for caml-list@inria.fr; Sat, 11 May 2002 09:21:05 +0200 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by dalamar.takhisis.org (8.12.3/8.12.3/Debian -7) with ESMTP id g4B7KnrZ001239 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Sat, 11 May 2002 09:20:53 +0200 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by lordsoth.takhisis.org (8.12.3/8.12.3/Debian -7) with ESMTP id g4B7KnTf032604 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 11 May 2002 09:20:49 +0200 Received: (from zack@localhost) by lordsoth.takhisis.org (8.12.3/8.12.3/Debian -7) id g4B7Kmip032602 for caml-list@inria.fr; Sat, 11 May 2002 09:20:49 +0200 Date: Sat, 11 May 2002 09:20:48 +0200 From: Stefano Zacchiroli To: caml-list@inria.fr Subject: Re: [Caml-list] Suggestion about balanced trees in stdlib Message-ID: <20020511072048.GA32471@cs.unibo.it> Mail-Followup-To: caml-list@inria.fr References: <20020510185954.C635@ice.gerd-stolpmann.de> <20020510223110.GB31219@cs.unibo.it> <20020510.160558.25479773.avv@quasar.ipa.nw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020510.160558.25479773.avv@quasar.ipa.nw.ru> User-Agent: Mutt/1.3.28i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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