Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Aug 28, 2023
1 parent 575e643 commit fba4ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/portable_simd.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::default;
use core::simd::{u8x16, Swizzle};
use core::simd::u8x16;
use core::slice;

const CHUNK_SIZE: usize = core::mem::size_of::<u8x16>();
Expand Down Expand Up @@ -40,9 +40,3 @@ pub(super) unsafe fn encode<const UPPER: bool>(input: &[u8], output: *mut u8) {
}

pub(super) use default::decode;

struct HexCharsTable<const UPPER: bool>;

impl<const UPPER: bool> Swizzle<16, 16> for HexCharsTable<UPPER> {
const INDEX: [usize; 16] = [0; 16];
}
1 change: 0 additions & 1 deletion src/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ pub(super) unsafe fn encode<const UPPER: bool>(input: &[u8], output: *mut u8) {
}
}

// FIXME: x86 decode implementation.
pub(super) use default::decode;

0 comments on commit fba4ca9

Please sign in to comment.