Skip to content

[Core] Optimize allocation and MPI management in #11719#11857

Merged
loumalouomega merged 73 commits intocore/mpi/spatial-search-container-new-proposal-v3from
core/modify-spatial-search-result-container-vector-indexing
Jan 29, 2024
Merged

[Core] Optimize allocation and MPI management in #11719#11857
loumalouomega merged 73 commits intocore/mpi/spatial-search-container-new-proposal-v3from
core/modify-spatial-search-result-container-vector-indexing

Conversation

@loumalouomega
Copy link
Copy Markdown
Member

@loumalouomega loumalouomega commented Nov 27, 2023

… core/modify-spatial-search-result-container-vector-indexing
@loumalouomega
Copy link
Copy Markdown
Member Author

@pooyan-dadvand this is the modification I mentioned earlier, I don't add it directly to the PR branch of #11719. This PR should be reviewed and if approved, should be done before than #11719

@pooyan-dadvand
Copy link
Copy Markdown
Member

I think unordered_set can easily outperform any ordered list with binary search. (I remember it from some comparisons I read years ago but I don't have the link now)

So I would simply use unordered_set instead.

@loumalouomega loumalouomega requested a review from a team as a code owner November 28, 2023 16:13
@loumalouomega
Copy link
Copy Markdown
Member Author

Closing until some refactors are done

Copy link
Copy Markdown
Member

@roigcarlo roigcarlo left a comment

Choose a reason for hiding this comment

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

👍

Comment thread kratos/spatial_containers/spatial_search_result_container_vector.cpp Outdated
loumalouomega and others added 20 commits December 20, 2023 15:26
Co-authored-by: Carlos Roig <roigcarlo@users.noreply.github.com>
Co-authored-by: Carlos Roig <roigcarlo@users.noreply.github.com>
… core/modify-spatial-search-result-container-vector-indexing
Co-authored-by: Carlos Roig <roigcarlo@users.noreply.github.com>
… core/modify-spatial-search-result-container-vector-indexing
… core/modify-spatial-search-result-container-vector-indexing
… core/modify-spatial-search-result-container-vector-indexing
… core/modify-spatial-search-result-container-vector-indexing
@loumalouomega
Copy link
Copy Markdown
Member Author

I will merge this and the following changes will be done in an independent branch and merged to the main one as this pR intended

@loumalouomega loumalouomega merged commit cde548f into core/mpi/spatial-search-container-new-proposal-v3 Jan 29, 2024
@loumalouomega loumalouomega deleted the core/modify-spatial-search-result-container-vector-indexing branch January 29, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants