Skip to content

Commit 7d6c2a8

Browse files
committed
Add #[inline(always)] to find_inner
1 parent 5d49276 commit 7d6c2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ impl<A: Allocator + Clone> RawTableInner<A> {
11891189

11901190
/// Searches for an element in the table. This uses dynamic dispatch to reduce the amount of
11911191
/// code generated, but it is eliminated by LLVM optimizations.
1192-
#[inline]
1192+
#[inline(always)]
11931193
fn find_inner(&self, hash: u64, eq: &mut dyn FnMut(usize) -> bool) -> Option<usize> {
11941194
let h2_hash = h2(hash);
11951195
let mut probe_seq = self.probe_seq(hash);

0 commit comments

Comments
 (0)