Skip to content

Commit

Permalink
Slice after pre-alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed May 10, 2022
1 parent 6eabcf9 commit a662047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,6 @@ export default class CramSlightlyLazyFeature implements Feature {
// single quality value
}
}
return mismatches
return mismatches.slice(0, j)
}
}

0 comments on commit a662047

Please sign in to comment.