Boost logo

Ublas :

Subject: Re: [ublas] Overhead of matrix indexing
From: Malcolm Reynolds (malcolm.reynolds_at_[hidden])
Date: 2012-01-17 13:52:48

On Tue, Jan 17, 2012 at 6:39 PM, <dariomt_at_[hidden]> wrote:
> Any hints? Ideas?
> I've compiled with all possible optimizations I could think of, but pointers
> always beat matrix indexing.

I don't know if this will help at all, but have you tried iterators as
a third option? I'd be intrigued to see the relative timings also (ie
are pointers 20% faster, or an order of magnitude faster..)