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 UAA10144; Thu, 10 Oct 2002 20:54:01 +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 UAA10407 for ; Thu, 10 Oct 2002 20:54:00 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9AIrx503816; Thu, 10 Oct 2002 20:53:59 +0200 (MET DST) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g9AIrxB34998 ; Thu, 10 Oct 2002 20:53:59 +0200 (CEST) Received: from localhost (frisch@localhost) by clipper.ens.fr (8.12.3/jb-1.1) id g9AIrvMj009927 ; Thu, 10 Oct 2002 20:53:57 +0200 (MET DST) Date: Thu, 10 Oct 2002 20:53:57 +0200 (MET DST) From: Alain Frisch To: Pierre Weis cc: Caml list Subject: Re: [Caml-list] Num library In-Reply-To: <200210101714.TAA07335@pauillac.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 10 Oct 2002, Pierre Weis wrote: > Once more, just one question to you: which layer of the Num library > had you benchmarked ? Mmmh, I did not intend to launch a new flamewar here ... Maybe you can give some information yourself about the library. If I want to manipulate only integers (no rational numbers), most of which will be small integers, is it better to use Num or Big_int ? Would Num benefit to be specialized to (small+big) integers (that is, throwing away the Ratio constructor) ? Because int values and Big_int values can be distinguished at runtime, one could imagine implementing the union "by hand" (without explicit tagging, and thus avoiding a lot of memory allocation and garbage collection). What would be the gain ? General question: the library seems to be extremely stable since a several years. Does it mean you consider that it is just good as it is, or does it mean you don't want to continue working on it ? -- Alain ------------------- 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