Deflate compression algorithm
Abstract
A compression algorithm replaces duplicative strings with a copy pair indicating a location and length of a preceding identical string that is within a window from the duplicative string. Rather than a replacing a longest matching string within a window from a given point with a copy pair, the longest matching string may be used provide it is at least two bytes larger than the next longest matching string or is at a distance that is less than some multiple of a distance to the next longest matching string. In another aspect, the length of the window in which a matching string may be found is dependent on a length of the matching string. In yet another aspect, rather than labeling each literal and copy pair to indicate what it is, strings of non-duplicative literals are represented by a label and a length of the string.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 5.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for compression, comprising: determining a longest candidate string for de-duplication starting at a current point in a data file that has a matching string preceding the current point subject to a condition; wherein the condition comprises the matching string having a length greater than a length of a previously determined matching string by at least one more unit than a minimum length parameter; and wherein the minimum length parameter comprises an integer.
- Claim 2Depends on #1
The method of claim 1 , wherein the condition further comprises the matching string having a length greater than one more unit than the minimum length parameter where no previously determined matching string exists.
- Claim 3Depends on #1
The method of claim 1 , wherein determining the longest candidate string for de-duplication further comp
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗