Skip to content

Commit

Permalink
added more tracking in compress
Browse files Browse the repository at this point in the history
  • Loading branch information
kevjue committed Feb 6, 2024
1 parent 0f86dbe commit 2e18952
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions symmetric/src/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ where
debug_assert!(CHUNK * N <= WIDTH);
let mut pre = [T::default(); WIDTH];
for i in 0..N {
println!("cycle-tracker-start: compress copy from slice");
pre[i * CHUNK..(i + 1) * CHUNK].copy_from_slice(&input[i]);
println!("cycle-tracker-end: compress copy from slice");
}
let post = self.inner_permutation.permute(pre);
let ret = post[..CHUNK].try_into().unwrap();
Expand Down

0 comments on commit 2e18952

Please sign in to comment.