readme.txt
August 6, 2016 ยท View on GitHub
/***********************************************************************
Copyright 2014-2016 Kennon Conrad
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
***********************************************************************/
GLZA is an experimental grammar compression toolset. Compression is accomoplished by using GLZAformat, GLZAcompress and GLZAdecode, in that order. Decompression is accomplished by using GLZAdecode. In general, GLZA is slow to compress but for text-like files, achieves Pareto Frontier decompression speeds vs. compression ratio with low decompression RAM use. GLZAformat is a preprocessor that detects the data type, performs capital encoding on textual files and performs 1, 2 or 4 byte delta filtering on certain strided files. GLZAcompress performs a grammar transformation by recursively finding sets of production rules until no new profitable production rules can be found. This step may be skipped, in which case GLZA is effectively an order-1 compressor. GLZAencode encodes the grammar using a variation of the Grammatical Ziv-Lempel format. GLZAdecode decodes the data.
Usage:
GLZAformat [-c#] [-d#] [-l#]
GLZAcompress [-c#] [-p#] [-r#] [-w0]
GLZAencode [-m#] [-v#]
GLZAdecode [-t#]
For more details on GLZA and the GLZ format, see http://encode.ru/threads/2427-GLZA.