Parmeggiani-Lab / elfin-solver

Standard Genetic Algorithm solver for elfin
MIT License
0 stars 0 forks source link

Replace matrix maths code wth Eigen #19

Closed joy13975 closed 5 years ago

joy13975 commented 5 years ago

Eigen is an optimized matrix maths library. Benchmarks show that it is fast for small matrices on single threads.

joy13975 commented 5 years ago

After its adoption, smart pointers seems have become the bottle neck. For some reason the array implementation has become slightly slower than Eigen.

For the time being the Eigen implementation will be default. (#define USE_EIGEN)