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 QAA09850; Mon, 19 Aug 2002 16:38:49 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA09805 for ; Mon, 19 Aug 2002 16:38:48 +0200 (MET DST) Received: from dewberry.cc.columbia.edu (dewberry.cc.columbia.edu [128.59.59.68]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7JEclD05147; Mon, 19 Aug 2002 16:38:47 +0200 (MET DST) Received: from there (tw304h3.cpmc.columbia.edu [156.111.84.180]) by dewberry.cc.columbia.edu (8.9.3/8.9.3) with SMTP id KAA13084; Mon, 19 Aug 2002 10:38:46 -0400 (EDT) Message-Id: <200208191438.KAA13084@dewberry.cc.columbia.edu> Content-Type: text/plain; charset="iso-8859-1" From: Oleg To: Xavier Leroy , caml-list@inria.fr Subject: Re: [Caml-list] O'Caml vs C++: a little benchmark Date: Mon, 19 Aug 2002 10:39:20 -0400 X-Mailer: KMail [version 1.3.2] References: <200208181716.NAA10426@hickory.cc.columbia.edu> <15711.57520.125841.25102@beertje.william.bogus> <20020819150201.B6276@pauillac.inria.fr> In-Reply-To: <20020819150201.B6276@pauillac.inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Monday 19 August 2002 09:02 am, Xavier Leroy wrote: > * http://www.bagley.org/~doug/shootout/ is a (rare) example of a >   non-stupid inter-language performance comparison. What?! The cluelessness of the "shootout" is beyond belief. Let me quote e.g. http://www.bagley.org/~doug/shootout/bench/lists/ Please Note: this test is due for an overhaul. I would like to have 2 lists tests, one that tests single-linked list functions, and one that tests double-linked list (deque) functions. Are there people here who do not know that deque == double-ended queue <> "double-linked list" ? If you were to look at the O'Caml and C++ programs for the "list" comparison in the shootout, you'd see that the C++ version uses bona fide doubly-linked lists (the ones that allow fast inserstion in the middle), while the O'Caml version uses pre-allocated Array.t in this "list" comparison. Oleg ------------------- 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