Skip to content

Commit 1cc2887

Browse files
newAMeldruin
authored andcommitted
murmur3: address todo in code
I tested both implementations, I found no significant difference in speed or code size.
1 parent a49d0a4 commit 1cc2887

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/murmur3.rs

-10
Original file line numberDiff line numberDiff line change
@@ -185,16 +185,6 @@ impl core::hash::Hasher for Murmur3Hasher {
185185
}
186186
}
187187
}
188-
189-
// XXX is this faster?
190-
// for block in body.exact_chunks(4) {
191-
// self.state
192-
// .process_block(unsafe { &*(block.as_ptr() as *const _) });
193-
// }
194-
195-
// let tail = body.split_at(body.len() / 4 * 4).1;
196-
197-
// self.push(tail);
198188
}
199189

200190
#[inline]

0 commit comments

Comments
 (0)