dotnetbio / bio

Bioinformatics library for .NET
Apache License 2.0
143 stars 49 forks source link

BAM Parser Performance Tweaks #36

Closed evolvedmicrobe closed 6 years ago

evolvedmicrobe commented 6 years ago

Benchmarking .NET Core vs. Mono (http://evolvedmicrobe.com/blogs/?p=398) showed a few quick areas that could be fixed, which I implemented after writing the post.

The easiest performance win available would now would likely be to avoid copying the byte[] array when creating the sequence type, and just reuse the one used by the parser.