Merged
Conversation
Add decoded_cache HashMap, ensure_decoded(&mut self) for serial setup, and sequence_bytes(&self) for parallel read access. This separates mutation from borrowing so rayon workers can read decoded bytes without external caching. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collapse 3 FASTA import methods (base, _force, _internal) into a single add_sequence_collection_from_fasta() accepting a FastaImportOptions builder with force() and namespaces() setters. Add extract_aliases_from_header() for parsing namespaced aliases from FASTA headers during import. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…s API to return Result - Remove dead bbid variable in region_set error path - Gate std::error::Error import behind http feature - Fix CustomError to display its message instead of hardcoded string - Add #[must_use] to FastaImportOptions builder methods - Add clear_decoded_cache() for memory reclamation - Change get_sequence_by_alias to return Result instead of Option - Update Rust and Python tests for new API Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…etter defrag than glibc- only load one seq in memory at a time properly
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add FastaImportOptions, thread-safe decoded cache, and namespace alias extraction
Summary