Research Article

QRFXFreeze: Queryable Compressor for RFX

Algorithm 2

Text compression algorithm.
() Assign = NIL;
 () Add all possible charcodes to the dictionary
 () for (every character in the uncompressed data) do
 () if (() exists in the dictionary) then
     ;
 () else
     add the dictionary code for to output;
     add () to the dictionary;
     ;
   endif
   () done
   () add the dictionary code for to output;
   () display output;