Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

compile with -02? #13

Open
jendap opened this issue Apr 5, 2017 · 2 comments
Open

compile with -02? #13

jendap opened this issue Apr 5, 2017 · 2 comments

Comments

@jendap
Copy link

jendap commented Apr 5, 2017

Is the .so file compiled with -o2 or similar optimization level?

The speed of the so file in 0.5 release looks consistent with non-optimized build. It can be 3x faster with -o2 ;-)

@jendap
Copy link
Author

jendap commented Apr 5, 2017

I can see you have optimization enabled in the cmake file. But the speed of the compiled binary is 3x slower. Weird.

@nitram509
Copy link
Contributor

Hi Jan,

thank you for spotting this.
When you say: "... can be 3x faster..." - to what build you're referring to?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants