Code improvement for DNA reverse complement?

biocyberman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 19 00:29:44 PDT 2017


I am solving this problem http://rosalind.info/problems/revc/ as 
an exercise to learn D. This is my solution:

https://dpaste.dzfl.pl/8aa667f962b7

Is there some D tricks I can use to make the `reverseComplement` 
function more concise and speedy? Any other comments for 
improvement of the whole solution are also much appreciated.



More information about the Digitalmars-d-learn mailing list