This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Why it is so slow?

Tags: None
(comma "," separated)
Itun
Registered Member
Posts
7
Karma
0

Why it is so slow?

Mon May 23, 2011 2:11 am
I use Visual Studio with DiretX XNA math library. Now, I use GNU compiler collection, so I cannot use XNA. Your library seemed me a pretty good with a great documentation. I have written my custom example to test library. This is glut (OpenGL) loop with hard-coded loop inside. Custom math classes give me 17 FPS, XNA - 35, your library - 3. How could it be, explain me please.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Why it is so slow?

Mon May 23, 2011 6:46 am
First question: are you compiling with optimization enabled? (e.g., -O2) Without -O2, yes Eigen is slow.
Itun
Registered Member
Posts
7
Karma
0

Re: Why it is so slow?

Mon May 23, 2011 2:23 pm
I add Eigen headers and that is it. Where I could find Eigen settings?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Why it is so slow?

Mon May 23, 2011 5:00 pm
it's not an Eigen setting but a compiler flag for GCC.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar