Compact encoding of non-repeating sequences
AssigneeRed Hat, Inc.
InventorJames P. Schneider
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorJames P. Schneider
Estimating the term…
Techniques for encoding and decoding non-repeating data objects are described herein. According to one embodiment, an input stream having non-repeating literals is received to be encoded into an output stream having a preamble and a payload, where each of the non-repeating literal is encoded via a unique data value, a lowest value among data values representing the literals to be encoded and a literal count representing a number of literals to be encoded are identified. A bit count representing a number of bits required to encode each of the literals is determined. The lowest value, the literal count, and the bit count are emitted into a preamble of an output stream. For each literal of the input stream, a code value representing a predetermined relationship between the data value associated with each literal and the identified lowest value is emitted to the payload of the output stream.
A computer method for encoding non-repeating data values, the method comprising:
A machine-readable medium having instructions stored therein, which when executed by a machine, cause the machine to perform a method for encoding non-repeating data values, the method comprising:
A computer-implemented method for decoding non-repeating data values, the method comprising:
A machine-readable medium having instructions stored therein, which when executed by a machine, cause the machine to perform a method for decoding non-repeating data values, the method comprising:
Dependencies are inferred from the claim text.