-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow references with up to 2**31 contigs
This changes the RefRandstrobe struct in the following way. Previously, bits were allocated in the following way: - 40 bits base hash - 24 bits auxiliary hash - 32 bits position - 23 bits reference/contig index - 8 bits strobe2 offset - 1 bit first_strobe_is_main flag We take 8 bits away from the auxiliary hash and use those bits for the reference index. New layout: - 40 bits base hash - 16 bits auxiliary hash - 8 bits strobe2 offset - 32 bits position - 31 bits reference/contig index - 1 bit first_strobe_is_main flag Closes #421
- Loading branch information
Showing
4 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters