Skip to content

Commit dfcd871

Browse files
drop some old TODOs
1 parent e262c2e commit dfcd871

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/canonical.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ pub fn canonical_mapper_simd(l: usize) -> (Delay, impl FnMut((S, S)) -> u32x8) {
4444
);
4545

4646
// Cnt of odd characters, offset by -l/2 so >0 is canonical and <0 is not.
47-
// TODO: Verify that the delayed removed characters are indeed 0.
4847
let mut cnt = i32x8::splat(-(l as i32));
4948
let two = i32x8::splat(2);
5049

src/minimizers.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ pub fn minimizers_seq_scalar<'s>(
5050
/// Split the windows of the sequence into 8 chunks of equal length ~len/8.
5151
/// Then return the positions of the minimizers of each of them in parallel using SIMD,
5252
/// and return the remaining few using the second iterator.
53-
// TODO: Take a hash function as argument.
5453
#[inline(always)]
5554
pub fn minimizers_seq_simd<'s>(
5655
seq: impl Seq<'s>,
@@ -83,7 +82,6 @@ pub fn canonical_minimizers_seq_scalar<'s>(
8382
let k = hasher.k();
8483
let delay1 = hasher.delay().0;
8584
let mut hash_mapper = hasher.in_out_mapper_scalar(seq);
86-
// TODO: Merge into a single mapper?
8785
let mut sliding_min_mapper = sliding_lr_min_mapper_scalar(w, seq.len(), cache);
8886
let (Delay(delay2), mut canonical_mapper) = canonical::canonical_mapper_scalar(k + w - 1);
8987

0 commit comments

Comments
 (0)