|
Ublas : |
Subject: Re: [ublas] Product of two matrices is very slow
From: Maik Beckmann (beckmann.maik_at_[hidden])
Date: 2009-06-15 08:56:37
zdespot schrieb am Montag 15 Juni 2009 um 14:36:
> Hi Maik
>
> Thanks for the prompt answer. I changed the postion and rebuilt it, but
> it is still slow.
>
> Zoran
This is very unlikely.
I removed the #define statements and did:
{{{
[maik_at_horst tmp]$ g++ -O3 test.cpp -o test
[maik_at_horst tmp]$ time ./test
real 0m0.321s
user 0m0.273s
sys 0m0.003s
[maik_at_horst tmp]$ g++ -O3 -DNDEBUG test.cpp -o test
[maik_at_horst tmp]$ time ./test
real 0m0.045s
user 0m0.027s
sys 0m0.000s
}}}
-- Maik