Skip to content

Condensed code in countBasePairs as to resolve #274#285

Merged
VerisimilitudeX merged 4 commits intoVerisimilitudeX:mainfrom
garyglatfelter:main
Oct 31, 2022
Merged

Condensed code in countBasePairs as to resolve #274#285
VerisimilitudeX merged 4 commits intoVerisimilitudeX:mainfrom
garyglatfelter:main

Conversation

@garyglatfelter
Copy link
Contributor

@garyglatfelter garyglatfelter commented Oct 30, 2022

Condensed stream function into 2 instead of 3. I thought 3 lines made it more readable, but I guess not good coding style? It fits in less than 15 lines now per guidelines. resolves #274

Signed-off-by: garyglatfelter <51980155+garyglatfelter@users.noreply.github.com>
@VerisimilitudeX
Copy link
Owner

Looks good @garyglatfelter, I'll merge after some more testing tomorrow.

Copy link
Owner

@VerisimilitudeX VerisimilitudeX left a comment

Choose a reason for hiding this comment

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

Looks great @garyglatfelter! Do you want to get started on using parallel streams and more performance improvements soon?

@VerisimilitudeX VerisimilitudeX merged commit ad60eeb into VerisimilitudeX:main Oct 31, 2022
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.

Refactor DNAAnalysis.countBasePairs(String)

3 participants