Boost Users :
From: Sohail Somani (s.somani_at_[hidden])
Date: 2005-08-02 14:28:09
> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Grant Goodyear
> Sent: Tuesday, August 02, 2005 10:22 AM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] multi_array_ref timing issue
> Sohail Somani wrote: [Tue Aug 02 2005, 12:01:43PM CDT]
> > Can you give me some tests? I can run them and check.
> My previous e-mail (Message-ID:
> <20050801203959.GQ22950_at_[hidden]>) has two self-contained
> programs: one that uses multi_array_ref, and one that does
> not. That's what I've been using for my tests.
Ok so I ran these (not to completion, I don't have *that* much time :)),
but it appears that the indexing operation for multi_array is very slow
in that a single index operation requires a lot of indirection and
construction of a couple of different types (which is repeated for each
I thought iterators may be faster. So I reworked your code to use
iterators. Its even slower.
I think the indexing method you use is the best for your application.
I hope someone can correct me.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net