Skip to content

ENH Uses vectors for Euclidean Radius#13

Merged
jjerphan merged 1 commit intojjerphan:pairwise-distances-radius-neighborhoodfrom
thomasjpfan:pairwise_vector_radius
Mar 4, 2022
Merged

ENH Uses vectors for Euclidean Radius#13
jjerphan merged 1 commit intojjerphan:pairwise-distances-radius-neighborhoodfrom
thomasjpfan:pairwise_vector_radius

Conversation

@thomasjpfan
Copy link
Copy Markdown

This PR removes the need for raw pointers in Euclidean Radius.

Copy link
Copy Markdown
Owner

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed nicer as memory management is eased. The reallocation in threads (via std::vector::resize) should still allow data locality in threads supposedly.

Thank you, @thomasjpfan.

@jjerphan jjerphan merged commit 01f33a6 into jjerphan:pairwise-distances-radius-neighborhood Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants