System and method for encoding and decoding variable-length data
AssigneeGoogle Inc.
InventorsJeffrey Dean, Michael Burrows, Gauthaum K. Thambidorai, Olcan Sercinoglu
Life of this patent
Estimating the term…
Loading patent…
AssigneeGoogle Inc.
InventorsJeffrey Dean, Michael Burrows, Gauthaum K. Thambidorai, Olcan Sercinoglu
Estimating the term…
A system and method for encoding and decoding variable-length data includes storing data values in a data structure including a data field and a tag field. The data field includes one or more variable-length data subfields capable of storing variable-length data (e.g., 1 to N bytes of data). In some embodiments, the data subfields and the tag field of the data structure each start on a byte boundary which simplifies decoding. The tag field includes one or more tag subfields, each corresponding to the one or more data subfields. Each tag subfield includes one or more tag bits which indicate the length of the data stored in the corresponding data subfield. Unpacking or decompressing data values from the data structure can be achieved by using a look-up table of offsets and masks, thus reducing the number of bit operations needed to unpack data values from the data structure.
A data structure stored in a computer-readable medium, comprising:
A data structure stored in a computer-readable medium, comprising:
A method of decoding an encoded block of data, comprising:
A method of encoding a block of data, comprising:
A system for decoding an encoded block of data, comprising:
A system for encoding a block of data, comprising:
Dependencies are inferred from the claim text.