Skip to content

Fix and redo the priority queue#238

Merged
cburstedde merged 12 commits intodevelopfrom
feature-pqueue
Mar 31, 2026
Merged

Fix and redo the priority queue#238
cburstedde merged 12 commits intodevelopfrom
feature-pqueue

Conversation

@cburstedde
Copy link
Copy Markdown
Owner

Rework priority queue

Proposed changes

The previous pqueue implementation based on a binary heap was flawed.
Completely reworked interface and code, and reactivating the test.

It remains to check whether it all works under CMake. Would you be able to look into this @hannesbrandt?

@hannesbrandt
Copy link
Copy Markdown
Collaborator

I've added the new test and example to the respective CMakeLists.txt's and ran them. Everything looks fine to me. There are further tests (io_file, mpi_pack) that are included in the Makefile.am, but not in the CMakeLists.txt. Should I add them as well?

@cburstedde
Copy link
Copy Markdown
Owner Author

Thanks! You may add these tests, please, here or in #239, whatever is best.

@hannesbrandt
Copy link
Copy Markdown
Collaborator

I've added the tests to #239

@cburstedde
Copy link
Copy Markdown
Owner Author

Thanks for completing this one!

@cburstedde cburstedde merged commit 0f5abf6 into develop Mar 31, 2026
24 checks passed
@cburstedde cburstedde deleted the feature-pqueue branch March 31, 2026 07:01
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.

2 participants