Re: m.*! not native?

Jefferson Provost <[email protected]>
Newsgroups gmane.lisp.matlisp.user
Message-ID <B87F3D8A.1CBE%[email protected]>
On 1/31/02 5:40 PM, "Tunc Simsek" <[email protected]> wrote:

> what do you mean by native.  both allegro and cmucl produce native code.
> looking at mtimes.lisp; it looks like all the declarations are in place
> for m.*! so the only reason that it may be slow is if the optimization
> flags were not set during compilation.  I personally never checked that
> they are.  It is worth checking this.

Sorry, I misspoke: by native I meant to say implemented in fortran.

Here are the average times of a few operations.

operation  | msecs  (mean of 100 runs)
-----------+---------
(m.*! a b) | 1351.6
(m.+! a b) |    8.6
(m* c d)   |   15.2

A,B = 500x500 real-matrices
C = 500x1 real matrix
D = 1x500 real matrix

(Machine: 1.2GHz Athlon w/ 512M RAM running Allegro 6.0 on Debian Linux)

Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.