Skip to content

Commit

Permalink
Optimize deflate table building (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia authored Oct 14, 2024
1 parent e16928a commit 1b782e8
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 269 deletions.
2 changes: 2 additions & 0 deletions fuzz/fuzz_targets/inflate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ fuzz_target!(|input: &[u8]| {
let Ok(decompressed2) = miniz_oxide::inflate::decompress_to_vec_zlib(&input) else {return};
assert_eq!(decompressed, decompressed2);
}
Err(fdeflate::DecompressionError::BadCodeLengthHuffmanTree) => {}
Err(fdeflate::DecompressionError::BadLiteralLengthHuffmanTree) => {}
Err(fdeflate::DecompressionError::BadDistanceHuffmanTree) => {}
Err(fdeflate::DecompressionError::InvalidDistanceCode) => {}
Err(err) => match miniz_oxide::inflate::decompress_to_vec_zlib(&input) {
Err(r)
Expand Down
Loading

0 comments on commit 1b782e8

Please sign in to comment.