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. 4. The method of claim 1 , wherein determining at least one subpart that correlates the block of data to compress comprises computing fingerprints of several subparts of the block of data to compress as hash values of said subparts and comparing the computed fingerprints with a bank of fingerprints corresponding to subparts of the secondary dictionary.