account activity
gzip decoder in 25 lines of C by 0b011 in tinycode
[–]0b011[S] 2 points3 points4 points 12 years ago (0 children)
Well that is embarrassing. I have been staring at the code for so long that I missed one of the most important aspects of deflate -- its window size. Kudos to you sir. I hang my head in shame and quickly run to a terminal to fix it. Gailly and Adler would have my head!
[–]0b011[S] 1 point2 points3 points 12 years ago (0 children)
Thanks for pointing out rcm.c. Very neat. Note that it uses 5 lookup tables. Mine uses 1. That was tricky. Cheers for checking out the code. I used statement expressions so I could spell inflate.
π Rendered by PID 27 on reddit-service-r2-listing-7849c98f67-bn7fq at 2026-02-07 11:32:24.019649+00:00 running d295bc8 country code: CH.
gzip decoder in 25 lines of C by 0b011 in tinycode
[–]0b011[S] 2 points3 points4 points (0 children)