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

[MRG] Speed-up SeqToHashes() #1938

Merged
merged 2 commits into from
Apr 10, 2022
Merged

[MRG] Speed-up SeqToHashes() #1938

merged 2 commits into from
Apr 10, 2022

Conversation

mr-eyes
Copy link
Member

@mr-eyes mr-eyes commented Apr 10, 2022

@mr-eyes mr-eyes added the rust label Apr 10, 2022
@codecov
Copy link

codecov bot commented Apr 10, 2022

Codecov Report

Merging #1938 (3954d5d) into latest (93cbd3a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           latest    #1938   +/-   ##
=======================================
  Coverage   82.93%   82.93%           
=======================================
  Files         125      125           
  Lines       13755    13755           
  Branches     1877     1877           
=======================================
  Hits        11408    11408           
  Misses       2075     2075           
  Partials      272      272           
Flag Coverage Δ
python 90.96% <ø> (ø)
rust 65.13% <100.00%> (ø)

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

Impacted Files Coverage Δ
src/core/src/signature.rs 67.98% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93cbd3a...3954d5d. Read the comment docs.

@mr-eyes mr-eyes changed the title use VecDeque instead of Vec [MRG] Speedup SeqToHashes() Apr 10, 2022
@mr-eyes mr-eyes changed the title [MRG] Speedup SeqToHashes() [MRG] Speed-up SeqToHashes() Apr 10, 2022
@mr-eyes
Copy link
Member Author

mr-eyes commented Apr 10, 2022

Ready for review/merge @sourmash-bio/devs

@mr-eyes mr-eyes requested a review from luizirber April 10, 2022 09:52
Copy link
Contributor

@ctb ctb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome ;). works for me!

@ctb ctb merged commit d1d8397 into latest Apr 10, 2022
@ctb ctb deleted the mo/speedup_translate branch April 10, 2022 12:45
@luizirber
Copy link
Member

This is AMAZING, @mr-eyes!

luizirber added a commit that referenced this pull request Apr 10, 2022
Add some rust benchmarks for seq_to_hashes in protein mode, 
so we don't regress after the awesome progress in #1938 

Other fixes:
- Default python in `asv` to the one where `asv` is running
  (fixes #1937)
- Make `ComputeParameters` initliazer use explicit keywords
  (and fix `__repr__`)
- make keyword args in ComputeParameters required
@mr-eyes mr-eyes restored the mo/speedup_translate branch April 12, 2022 07:14
@mr-eyes mr-eyes deleted the mo/speedup_translate branch April 12, 2022 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is sourmash sketch translate really slow on long sequences?
3 participants