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

Optimise some LongSequence constructors #320

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

jakobnissen
Copy link
Member

Specifically, constructors of LongSequence{<:NucleicAcidAlphabet} from LongSequence or LongSubSeq of NucleicAcidAlphabet, where the alphabet bit size is different.
Simple benchmarks suggests an improvement of 4-7x for long sequences.

This makes nice use of the new internal abstraction from #316 :)

Specifically, constructors of `LongSequence{<:NucleicAcidAlphabet}` from
`LongSequence` or `LongSubSeq` of `NucleicAcidAlphabet`, where the alphabet
bit size is different.
Simple benchmarks suggests an improvement of 4-7x for long sequences.
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.30%. Comparing base (95d9218) to head (a5ec1b3).
Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
- Coverage   90.87%   90.30%   -0.58%     
==========================================
  Files          31       30       -1     
  Lines        2400     2527     +127     
==========================================
+ Hits         2181     2282     +101     
- Misses        219      245      +26     
Flag Coverage Δ
unittests 90.30% <100.00%> (-0.58%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jakobnissen jakobnissen merged commit 0047647 into BioJulia:master Oct 22, 2024
22 checks passed
@jakobnissen jakobnissen deleted the fast_convert branch October 22, 2024 16:40
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