mirror of
https://github.com/exoticorn/upkr.git
synced 2026-01-20 19:46:42 +01:00
speed optimizations + progress bar
This commit is contained in:
@@ -3,7 +3,7 @@ use crate::match_finder::MatchFinder;
|
||||
use crate::rans::RansCoder;
|
||||
|
||||
pub fn pack(data: &[u8]) -> Vec<u8> {
|
||||
let match_finder = MatchFinder::new(data);
|
||||
let mut match_finder = MatchFinder::new(data);
|
||||
let mut rans_coder = RansCoder::new();
|
||||
let mut state = lz::CoderState::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user