Fast data compressor with direct lookup table indexing into history buffer
Abstract
A cooperating data compressor, compressed data format, and data decompressor. The compressor compresses an input data block (HB) to a compressed data block having the format. The decompressor decompresses the compressed data block to restore the original data block. The compressor has a direct lookup table (DLT) of 2 8 ×N entries, each indexable by N bytes at a current HB location and identifying a target HB location. The compressor determines whether a target string at the target HB location matches a current string at the current HB location. If they do not match, the compressor outputs a literal representing a datum at the current location. If they match, the compressor outputs a vector from the current location to the target string. Compression speed is maximized by the direct addressing of the DLT by the current N bytes in the HB. Decompression speed is maximized by state machine operation according to literal/vector indicators, special case string length codes, and special case offset codes in the compressed data format.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 216.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus operating upon an input data block, the apparatus comprising: means for maintaining a direct lookup table (DLT) array of DLT entries, each DLT entry being indexable in the DLT by a unique integer and identifying a location in the input data block; and indexing means for using one or more bytes at a current location in the input data block as an integer to directly access a given DLT entry, contents of the given DLT entry identifying a target location in the input data block.
- Claim 2Depends on #1
The apparatus of claim 1, wherein target strings begin at target locations in the input data block and a current string begins at the current location, the apparatus further comprising: string comparison means for determining whether a target string at a target location identified by the given DLT entry matches the current string.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗