1. A system performing data compression, the system comprising: a random access memory (RAM) operating as a static dictionary and including at least one commonly used string; an input buffer operating as a dynamic dictionary and including at least one input string; and a set-associative cache memory operating as a hash table and including at least one pointer pointing to the at least one commonly used string in the static dictionary and pointing to the at least one input string in the dynamic dictionary.