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

Make index creation deterministic #398

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Make index creation deterministic #398

merged 1 commit into from
Feb 28, 2024

Conversation

marcelm
Copy link
Collaborator

@marcelm marcelm commented Feb 27, 2024

By ensuring randstrobes are sorted by all their fields.

I thought that the comparison function I added in #386 (commit 2e4ff95) was good enough, but now that I ran on some other datasets that I hadn’t used for testing previously, it became apparent that that’s not the case because I was getting non-reproducible results.

This slows down index creation again a little bit (now takes ~61s instead of ~60s for CHM13), but it’s still a lot faster than before parallel sorting.

By ensuring randstrobes are sorted by all their fields.
@marcelm
Copy link
Collaborator Author

marcelm commented Feb 28, 2024

Merging as I need this for further experiments

@marcelm marcelm merged commit d420610 into main Feb 28, 2024
9 checks passed
@marcelm marcelm deleted the deterministic branch February 28, 2024 08:01
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.

1 participant