in reply to Re^6: Removing Flanking "N"s in a DNA String
in thread Removing Flanking "N"s in a DNA String

You're right. Dumb conclusion.

I still stand by my benchmark though--until someone shows me what is wrong with it.

By moving the test data generation outside of the test, and testing each method twice in reversed order, I believe that I have accounted for the Benchmark.PM "first case" bias, and am more accurately comparing the two methods than any of the other benchmarks posted.

Can you dubunk that claim?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^7: Removing Flanking "N"s in a DNA String