On Friday, 19 May 2017 at 07:46:13 UTC, Stefan Koch wrote:
On Friday, 19 May 2017 at 07:29:44 UTC, biocyberman wrote:
I am solving this problem http://rosalind.info/problems/revc/
as an exercise to learn D. This is my solution:
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
I think doing a switch or even a if-else chain would be faster
then using an AA.
Thank you Stefan. I will try that and benchmark the two
implementations. I used AA approach because it looks more
readable to me.