-
Notifications
You must be signed in to change notification settings - Fork 105
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
Stablize sorts used by path finders #1805
Conversation
Maybe move these comparisons to a single spaceship operator, since we're now in c++20 land? |
These weak comparisons use different logic to the regular comparisons. I can add three-way comparison (as an addition), but it won't be used in the current code - maybe better to wait until other/future code needs it? |
0fce1b3
to
b423e08
Compare
Thanks you for fixing this guys ❤️ Can't wait to try multi from OpenBSD with non-OpenBSD players & friends |
std::priority_que doesn't guarantee that the sorts it performs is stable. This could potentially lead to a desync between different platforms or build chains.