-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make calmd run faster on non-position-sorted data
Add caching so that calmd doesn't continuously have to reread reference sequences if the input does not go through them sequentially. As caching requires extra memory, it is only enabled if calmd detects an attempt to go backwards in the reference dictionary. Thus processing a position-sorted file uses no more space than before, while processing other orderings is now much faster.
- Loading branch information
Showing
2 changed files
with
134 additions
and
12 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