Branch: refs/heads/main
Revision: e7ad193
Author: bradcray
Link: revcomp: clean up a bunch of +/-1 logic by bradcray · Pull Request #19719 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19719 from bradcray/revcomp-cleanup
revcomp: clean up a bunch of +/-1 logic
[trivial, not reviewed]
I've been certain for weeks that there was a way to make this logic
cleaner, but couldn't get it right... until tonight! This shouldn't
affect performance and only knocks the code size down to 635, but
it makes me much happier in terms of boundary conditions.
Modified Files:
M test/studies/shootout/reverse-complement/bradc/revcomp-blc.chpl
Compare: https://github.com/chapel-lang/chapel/compare/691814f0cfc6...e7ad193c48ab