Skip to content

Commit

Permalink
doc: add comment to indicate modification of update algo
Browse files Browse the repository at this point in the history
  • Loading branch information
vthib committed Jul 1, 2024
1 parent 75b524e commit af1b2b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tlsh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ impl<

let mut fed_len = self.data_len;

// XXX: this code has been tweaked compared to the C++ version, to improve performances.
// See <https://github.com/vthib/tlsh/pull/8>.
for b in data {
let b_0 = *b;
let [b_4, b_3, b_2, b_1] = self.slide_window;
Expand Down

0 comments on commit af1b2b8

Please sign in to comment.