PSeitz / lz4_flex

Fastest pure Rust implementation of LZ4 compression/decompression.
MIT License
441 stars 28 forks source link

optimize wildcopy #109

Closed PSeitz closed 1 year ago

PSeitz commented 1 year ago

the initial check in the the 16 byte wild copy is unnecessary, since it is already done before calling the method

codecov[bot] commented 1 year ago

Codecov Report

Merging #109 (2b254c6) into main (a75f532) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   88.92%   88.93%           
=======================================
  Files          11       11           
  Lines        2221     2223    +2     
=======================================
+ Hits         1975     1977    +2     
  Misses        246      246           
Impacted Files Coverage Δ
src/block/decompress.rs 95.85% <100.00%> (+0.02%) :arrow_up: