Skip to content

Commit 6afc7c7

Browse files
committed
fix: yo dawg
i heard you like inlining. so i `#[inlined]` your `Inlined` so you can inline your `Inlined`s Signed-off-by: Andrew Duffy <[email protected]>
1 parent 615bfef commit 6afc7c7

File tree

1 file changed

+1
-0
lines changed
  • vortex-vector/src/binaryview

1 file changed

+1
-0
lines changed

vortex-vector/src/binaryview/view.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub struct Inlined {
4646

4747
impl Inlined {
4848
/// Creates a new inlined representation from the provided value of constant size.
49+
#[inline]
4950
fn new<const N: usize>(value: &[u8]) -> Self {
5051
debug_assert_eq!(value.len(), N);
5152
let mut inlined = Self {

0 commit comments

Comments
 (0)