Skip to content

Commit

Permalink
try to inline the index build function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachelint committed Aug 30, 2024
1 parent c6bae6e commit 9b224f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ impl BlockedGroupIndexBuilder {
}
}

#[inline]
pub fn build(&self, packed_index: usize) -> BlockedGroupIndex {
let packed_index = packed_index as u64;
let block_id = ((packed_index & self.block_id_mask) >> 32) as u32;
let block_offset = packed_index & self.block_offset_mask;

Expand Down

0 comments on commit 9b224f1

Please sign in to comment.