diff options
| author | unknowntrojan <14975032+unknowntrojan@users.noreply.github.com> | 2024-03-07 17:05:52 +0100 |
|---|---|---|
| committer | unknowntrojan <14975032+unknowntrojan@users.noreply.github.com> | 2024-03-07 17:05:52 +0100 |
| commit | ab9e85ce3f8f379622687fa56227b44b08c0b84d (patch) | |
| tree | 7b4be97fa3017e8a1b4cdd72b43bc24819b71ad4 /src | |
| parent | 2ea7594879ad534c0012893444a45417f196b5cd (diff) | |
0.1.6
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -590,9 +590,11 @@ fn create_pattern_internal_binarysearch( current_pattern.drain(instr.0 as usize + instr.1..); - while let Some(x) = current_pattern.last() && x.is_none() { - current_pattern.pop(); - } + while let Some(x) = current_pattern.last() + && x.is_none() + { + current_pattern.pop(); + } log::info!( "binsearch created pattern in {}ms", @@ -704,9 +706,11 @@ fn create_pattern_internal( pattern_unique = is_pattern_unique(&data, ¤t_pattern); } - while let Some(x) = current_pattern.last() && x.is_none() { - current_pattern.pop(); - } + while let Some(x) = current_pattern.last() + && x.is_none() + { + current_pattern.pop(); + } log::info!( "created pattern in {}ms", |
