Skip to content

Commit

Permalink
Updates comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecot committed Dec 18, 2023
1 parent f5539eb commit 54d46e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ trait DataFind: AsRef<[u8]> {
bad_byte_table[byte as usize] = target.len() - 1 - index;
}

// Boyer-Moore-Horspool algorithm.
// Searches for the target sequence using the Boyer-Moore-Horspool algorithm.
let mut data_index = target.len() - 1;
while data_index < data.len() {
let mut target_index = target.len() - 1;
Expand Down

0 comments on commit 54d46e5

Please sign in to comment.