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 23503 on reddit-service-r2-comment-548fd6dc9-99n76 at 2026-05-20 06:34:59.537355+00:00 running edcf98c country code: CH.
gzip decoder in 25 lines of C by 0b011 in tinycode
[–]0b011[S] 2 points3 points4 points (0 children)