Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Faster build_newick from pairs instead of ancestry#130

Open
Neclow wants to merge 3 commits into
uw-ssec:devfrom
Neclow:build_newick
Open

Faster build_newick from pairs instead of ancestry#130
Neclow wants to merge 3 commits into
uw-ssec:devfrom
Neclow:build_newick

Conversation

@Neclow

@Neclow Neclow commented Apr 29, 2025

Copy link
Copy Markdown

This PR might be too heavy to include in the next release, as it involves several changes to accelerate newick building.

In essence, new functions are proposed to build a newick string from get_pairs() instead of get_ancestry, thus removing an extra step. Moreover, the new function gets rid of recursion.

image

Neclow added 2 commits April 28, 2025 15:55
ops::vector: removed unncessary deps
ops::newick: rearranged function order
benchmarks::core: fixed function names
@deepsource-io

deepsource-io Bot commented Apr 29, 2025

Copy link
Copy Markdown

Here's the code health analysis summary for commits 4bd50b5..e3550d7. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Rust LogoRust✅ Success
🎯 1 occurence resolved
View Check ↗
DeepSource Python LogoPython✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@sonarqubecloud

Copy link
Copy Markdown

@Neclow

Neclow commented Apr 29, 2025

Copy link
Copy Markdown
Author

Worth noting that this "finding" opens up some avenues for simplification. I could imagine having a function build_newick that accepts either a Pairs object, an Ancestry object and equivalent object with the BLs...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant