Patent ID: 8370805
Filing Date: 2013-02-05
Classification: G06F

Abstract:
1. A method comprising: initializing, by a computer, a first pointer to point to a beginning of a first version of data that is in a buffer, and a second pointer to point to a location in the buffer after an end of the first version of the data, and a delta pointer to point to delta data in a delta data module, wherein the delta data corresponds to the first version and a second version of the data, and wherein the delta data is encoded according to an encoding scheme of the delta data module; copying, after the initializing, into the buffer at a location pointed to by the second pointer, if a delta portion of the delta data pointed to by the delta pointer indicates a literal encoding according to the encoding scheme, a unit of the delta data corresponding to the literal encoding, and, if the delta portion pointed to by the delta pointer does not indicate a literal encoding according to the encoding scheme, a first portion of the data according to the encoding scheme and relative to a pointer that is selected from the first pointer and the second pointer, wherein the selected pointer points to a location in the buffer that is nearest to the first portion; adjusting, by the computer in response to the copying, the first pointer and the second pointer by a size of the first portion or of the unit of the delta data, and the delta pointer according to the encoding scheme; repeating, by the computer in response to the adjusting, the copying and the adjusting until the delta pointer points to a location past an end of the delta data, wherein, in response to the delta pointer pointing to the location past the end of the delta data, the second version of the data is located in the buffer starting immediately after the end of the first version of the data.