Skip to content

Commit

Permalink
[Bench] Before
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Dec 10, 2023
1 parent 0ade59d commit ef47466
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,16 @@ impl Hasher for GxHasher {
self.state = unsafe { compress_fast(compress_all(bytes), self.state) };
}

write!(write_u8, u8, load_u8);
write!(write_u16, u16, load_u16);
write!(write_u32, u32, load_u32);
write!(write_u64, u64, load_u64);
write!(write_u128, u128, load_u128);
write!(write_i8, i8, load_i8);
write!(write_i16, i16, load_i16);
write!(write_i32, i32, load_i32);
write!(write_i64, i64, load_i64);
write!(write_i128, i128, load_i128);
// write!(write_u8, u8, load_u8);
// write!(write_u16, u16, load_u16);
// write!(write_u32, u32, load_u32);
// write!(write_u64, u64, load_u64);
// write!(write_u128, u128, load_u128);
// write!(write_i8, i8, load_i8);
// write!(write_i16, i16, load_i16);
// write!(write_i32, i32, load_i32);
// write!(write_i64, i64, load_i64);
// write!(write_i128, i128, load_i128);
}

/// A builder for building GxHasher with randomized seeds by default, for improved DOS resistance.
Expand Down

0 comments on commit ef47466

Please sign in to comment.