Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] BigArray.Array2 vs Array.make_matrix
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kevin Patrick Murphy <murphyk@a...>
Subject: [Caml-list] BigArray.Array2 vs Array.make_matrix

> 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