Skip to content

Comments

Refactor of doubly nested 2D dynamic programming loops to improve performance#10

Open
jackwadden wants to merge 4 commits intombreese:masterfrom
jackwadden:master
Open

Refactor of doubly nested 2D dynamic programming loops to improve performance#10
jackwadden wants to merge 4 commits intombreese:masterfrom
jackwadden:master

Conversation

@jackwadden
Copy link

This change refactors the double for loop typical of dynamic programming to save values across loops preventing unnecessary matrix accesses. In my testing, this improved swalign "align" performance by about 15-30%.

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