Very slow Affine3f to Vector3f multiplication
Submitted by Nikolai
Assigned to Nobody
Link to original bugzilla bug (#1201)
Version: 3.3 (current stable)
Description
Eigen::Affine3f m;
1)
Eigen::Vector3f v(p[0], p[1], p[2]);
Eigen::Vector3f res = m*v;
-
Eigen::Vector4f v(p[0], p[1], p[2], 1); Eigen::Vector4f res = m.matrix()*v;
First example 4x times slower than the second! Compiled in Visual Studio 2015 upd 2 with full optimization.