Skip to content
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

Respect the order of blocks with the same priority in PriorityScheduler #541

Merged
merged 4 commits into from
Jul 27, 2023

Conversation

michaelbaisch
Copy link
Contributor

Update np.argsort() to use mergesort instead of quicksort for consistent sorting of equal values

Fixes #397

Update np.argsort() to use mergesort instead of quicksort for consistent sorting of equal values
@bmorris3
Copy link
Contributor

bmorris3 commented Mar 7, 2023

Tidy fix, @michaelbaisch! Would you mind writing a short test to verify that the new behavior acts as expected?

@michaelbaisch
Copy link
Contributor Author

anything still missing here?

@bmorris3
Copy link
Contributor

All good, thank you @michaelbaisch! And sorry for the delay ⌛

@bmorris3 bmorris3 merged commit 9b4c53d into astropy:main Jul 27, 2023
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.

Priority scheduler leaves a lot of empty time
2 participants