Created
June 30, 2012 20:23
-
-
Save davidreynolds/3025357 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define EI 11 /* typically 10..13 */ | |
| #define EJ 4 /* typically 4..5 */ | |
| #define P 1 /* If match length <= P then output one character */ | |
| #define N (1 << EI) /* buffer size */ | |
| #define F ((1 << EJ) + P) /* lookahead buffer size */ | |
| int bit_buffer = 0, bit_mask = 128; | |
| unsigned long codecount = 0, textcount = 0; | |
| unsigned char buffer[N * 2]; | |
| FILE *infile, *outfile; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment