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 EAA11477; Thu, 28 Nov 2002 04:22:28 +0100 (MET) 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 EAA11486 for ; Thu, 28 Nov 2002 04:22:27 +0100 (MET) Received: from life.ai.mit.edu (life.ai.mit.edu [128.52.32.80]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gAS3MQX29487 for ; Thu, 28 Nov 2002 04:22:26 +0100 (MET) Received: from ai.mit.edu (murphyk@haruspex [128.52.38.190]) by life.ai.mit.edu (8.12.2/8.12.2/BASENAME(ai.master.life-8.12.2.mc,.mc):RCS_REVISION(evision: 1.23 ) with ESMTP id gAS3MPhD011015 for ; Wed, 27 Nov 2002 22:22:25 -0500 (EST) Message-ID: <3DE58BF1.936A93B4@ai.mit.edu> Date: Wed, 27 Nov 2002 22:22:25 -0500 From: Kevin Patrick Murphy Organization: MIT AI Lab X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.6 i686) X-Accept-Language: en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] BigArray.Array2 vs Array.make_matrix Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I was wondering what are the relative merits (in terms of speed, > portability and ease > of use) between using arrays of arrays, and the BigArray class. > > While web browsing, I saw a couple of people claim that BigArray is > signigicantly slower than the standard array class: > > http://caml.inria.fr/archives/200105/msg00217.html > claims BigArray is 3 times slower > > www.cs.cornell.edu/courses/cs612/2001sp/ projects/ocaml-arrays/OCaml.pd > claims BigArray is about 10 times slower > >Is this still true, with the latest release? (3.04) > > Has anyone written some nice syntactic sugar for 2D matrices using > either class? > eg., so I can pretty print the matrix, or easily extract the num > rows/columns? > Plus an interface to some standard linear algebra code would be nice... > > Kevin ------------------- 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