by bayindirh · 2y ago · 0 comments
Eigen handle most (if not all, I just skimmed the tables) tasks in parallel [0]. Plus, it has hand-tuned SIMD code inside, so it needs "-march=native -mtune=native -O3" to make it "full send".
Some solvers' speed change more than 3x with "-O3", to begin with.
This is the Eigen benchmark file [1].
[0]: https://eigen.tuxfamily.org/dox/TopicMultiThreading.html
[1]: https://github.com/sarah-ek/faer-rs/blob/main/faer-bench/eig...
My complete Ph.D., using ton of Eigen components plus other libraries was compiling in 10 seconds flat on a way older computer. This requires gigs of RAM plus a minute.