Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Oct 1, 2024
1 parent 7cb597c commit 6dfa5b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions encodings/alp/src/alp_rd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,8 @@ pub fn alp_rd_decode<T: ALPRDFloat>(
"alp_rd_decode: exc_pos.len != exceptions.len"
);

// Prepare the dictionary for decoding by adding the extra value for lookups to match.
let mut dict = Vec::with_capacity(left_parts_dict.len());
dict.extend_from_slice(left_parts_dict);
// // Add an extra code for out-of-dict values. These will be overwritten with exceptions later.
// const EXCEPTION_SENTINEL: u16 = 0xDEAD;
// dict.push(EXCEPTION_SENTINEL);

let mut left_parts_decoded: Vec<T::UINT> = Vec::with_capacity(left_parts.len());

Expand Down

0 comments on commit 6dfa5b3

Please sign in to comment.