-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zero copy for Eigen::Matrix3XT and Eigen::Map<const Eigen::Matrix3XT> #43
Conversation
@HannesSommer @tcies ptal |
Oh my, this is pretty big... I couldn't do a thorough review. But for my time budget: lgtm. |
@dymczykm could you take a pass please? |
@idryanov ptal |
@@ -266,6 +268,7 @@ namespace Nabo | |||
//! the high bound of the search space (axis-aligned bounding box) | |||
const Vector maxBound; | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert?
LGTM. Do you have unit tests that check the behavior with the default type (MatrixXf)? |
@HannesSommer @idryanov thanks for the review. @idryanov For the 3d-data I test the types: |
Zero copy for Eigen::Matrix3XT and Eigen::Map<const Eigen::Matrix3XT>
Eigen::MatrixXf
Eigen::MatrixXd
Eigen::Matrix3Xf
Eigen::Matrix3Xd
Eigen::Map<const Matrix3Xf, Eigen::Aligned>
Eigen::Map<const Eigen::Matrix3Xd, Eigen::Aligned>