From cf88427e69273a1d7bd90e65ac84df37f0762377 Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Tue, 5 Aug 2025 22:03:41 +0100 Subject: [PATCH] Mark hash_bytes_medium as inline never --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index ab04556..e85d2b4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -221,6 +221,7 @@ const fn rotate_right(x: u64, r: u32) -> u64 { } /// Hashes strings >= 16 bytes, has unspecified behavior when bytes.len() < 16. +#[inline(never)] fn hash_bytes_medium(bytes: &[u8], mut s0: u64, mut s1: u64, fold_seed: u64) -> u64 { // Process 32 bytes per iteration, 16 bytes from the start, 16 bytes from // the end. On the last iteration these two chunks can overlap, but that is