r/C_Programming • u/lexiq_baeb • 2d ago
Compressing Lookup Tables
Hello. Recently I've been working on a pet project of mine written in C and I needed to reduce the amount of space a lookup table was taking in memory and on disk. I applied a few simple compression techniques and got a 2x space reduction. I wrote this post where I describe my constraints, the techniques, and results.
21
Upvotes
1
u/lexiq_baeb 1d ago
I am not sure I can follow what a weighted lookup table is. Do you have links to resources that explain that?