Closed TheLostLambda closed 2 years ago
Done! Also, as expected, rev()
, reverse_complement()
, count_elements()
, and convert()
are all O(n) and have a 1.6-39GiBps throughput (with count_elements()
still being the slowest, but on par with Julia? I think it's as good as it gets single-threaded, but we'll see)
With that speed, we should be able to run these functions over the whole human genome in less than 5 seconds!
The benchmarks could be improved to run in a loop, trying each function with sequences of progressively larger sizes: https://bheisler.github.io/criterion.rs/book/user_guide/benchmarking_with_inputs.html#benchmarking-with-a-range-of-values