Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2001-12-21 08:25:58


Beman Dawes wrote:

> At 03:42 AM 12/21/2001, tknapen wrote:
>
> >--- In boost_at_y..., Ron Garcia <garcia_at_c...> wrote:
> >> Hi,
> >>
> >> I have uploaded a library called multi_array to the files directory.
> >
> >2 questions:
> >
> >1) performance
> >Have you measered performance compared to plain C-arrays ?
> >I just wrote a small test in 2 minutes and have some strange results.
> >The C-array indexing takes 0.9 seconds where-as the multi-array takes
> >2.92 seconds. (see below for small test program). Can this be due to
> >the []-indexing.
>
> Just out of curiosity, was this a debug or an optimized build?
>
> Do you know if the compiler involved normally has a low abstraction
> penalty?

Sorry, vital info was missing : I used gcc-3.0.2 with option -O4.
(gcc-2.95.3 won't compile multi_array).


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk