comp.lang.ada
 help / color / mirror / Atom feed
From: Hyman Rosen <hymie@prolifics.com>
Subject: Re: Ada->C++ conversion stats?
Date: 2000/03/21
Date: 2000-03-21T14:43:36+00:00	[thread overview]
Message-ID: <t78zzcfkno.fsf@calumny.jyacc.com> (raw)
In-Reply-To: 38D722C1.8B6C58F7@gte.net

"Robert L. Klungle" <bklungle@gte.net> writes:
> The C++ version execution time is 3 times slower than the original Ada.
> Primarily due to the implementation of an Array (Matrix) class as a
> Class of Vectors-of-Vectors.
> This was done to keep the matrix type of referencing ([][]). There is no
> C++ operator to overload of this kind.

In addition to the B&N book, you should also look at the Blitz++ library.
It uses the expression template technique to convert concisely written
matrix operations into the equivalent of hand-optimized loops. It's free.
See <http://oonumerics.org/blitz/index.html>.




  parent reply	other threads:[~2000-03-21  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-21  0:00 Ada->C++ conversion stats? tmoran
2000-03-21  0:00 ` Robert L. Klungle
2000-03-21  0:00   ` Robert Dewar
2000-03-21  0:00   ` Hyman Rosen
2000-03-21  0:00   ` Hyman Rosen [this message]
2000-03-22  0:00     ` Gerald Kasner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox