Re: Compressed Linetables
- Posted by petelomax Aug 29, 2014
- 1477 views
PeteE said...
The solution is to store the difference between each adjacent number using arithmetic coding.
Oh yeah, I could easily store the number of bytes each line generates instead of the offset. 0 would become invalid, and the percentage of -128..127 numbers should hit the pretty high 90s. Nice idea, thanks.
PeteE said...
I wonder if a similar approach could be used here, with two lists: offsets and line numbers.
Not sure I get that part