|
|
|
|
|
by arcanus
3957 days ago
|
|
Eigen is header only and heavily templated, which certainly keeps the source down. However, SLOC is a poor metric for the quality of a codebase, especially scientific ones. I've certainly found many instances where longer line counts are more performant, for instance with hand-unrolling loops (very rare edge case, not suggesting doing this as a rule!). Unless you intend to become involved in development of the library, I see no reason you would care about the lines of code. Even at that point, design philosophy, features, etc. are more likely to be major factors in your choice. FYI: Computational Scientist here. I am neither affiliated with Blaze nor Eigen. |
|
.. Unless it's written in a completely uncomprehensible way of course (such as some meta c++ stuff), but in languages with good metaprogramming.