caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kevin Patrick Murphy <murphyk@ai.mit.edu>
To: caml-list@inria.fr
Subject: [Caml-list] BigArray.Array2 vs Array.make_matrix
Date: Wed, 27 Nov 2002 22:22:25 -0500	[thread overview]
Message-ID: <3DE58BF1.936A93B4@ai.mit.edu> (raw)


> 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


             reply	other threads:[~2002-11-28  3:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-28  3:22 Kevin Patrick Murphy [this message]
2002-12-03 15:33 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DE58BF1.936A93B4@ai.mit.edu \
    --to=murphyk@ai.mit.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).