Order preserving run length encoding with compression codeword extraction for comparisons
AssigneeInternational Business Machines Corporation
InventorsSteven J. Watts, Balakrishna R. Iyer
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsSteven J. Watts, Balakrishna R. Iyer
Estimating the term…
The present invention provides a system and method for the dictionary ordering of keys after expansion, compression and concatenation of their key parts. After each key part has been expanded through padding, each substring of identical characters of length greater than or equal to three is compressed through run-length encoding algorithm. The substring is replaced by the sequence character, a compression identifying character and a number identifying the number of characters being replaced. After compression and the subsequent concatenation, the keys are compared character by character. At the first instance of a miscomparison, the comparison scheme performs a normal dictionary ordering if neither of the characters are part of a compression sequence. If a character at the point of miscomparison is part of a compression sequence then an ordering decision is made based on the compression character, the length of the compressed substring and the character following the compressed substring.
A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform the method steps for comparing character strings that are compressed through run length encoding, said method steps comprising:
A computer program product, comprising:
A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform the method steps for comparing character strings that are compressed through run length encoding, wherein a string of identical characters is replaced with a compressed character, a compression identifying character and a number identifying the number of characters that are replaced, said method steps comprising:
A computer program product, comprising:
Dependencies are inferred from the claim text.