1. A method of compressing data, comprising compressing a block of data using one or more references to entries of a compression dictionary, the method further comprising: obtaining an initial compression dictionary and a separate secondary dictionary; determining at least one subpart of the secondary dictionary that correlates with the block of data to compress; updating the initial compression dictionary by inserting the determined at least one subpart therein, to obtain the compression dictionary used for compressing the block of data.
1. A method of compressing data, comprising compressing a block of data using one or more references to entries of a compression dictionary, the method further comprising: obtaining an initial compression dictionary and a separate secondary dictionary; determining at least one subpart of the secondary dictionary that correlates with the block of data to compress; updating the initial compression dictionary by inserting the determined at least one subpart therein, to obtain the compression dictionary used for compressing the block of data. 13. The method of claim 1 , wherein the initial compression dictionary changes from the compression of one block of data to the compression of a next block of data, by adding the one block of data to the initial compression dictionary before compressing the next block of data; and the method further comprises determining the position of the oldest data in the initial compression dictionary as the location where the determined at least one subpart is inserted for the updating.