Just to get some rough measurements, I patched in the compression from Duck! Me? (DM) OK, it doesn't actually work because one of the limitations is that it doesn't allow embedded newlines but skipping over that for now.
Clearly the compression ratio mentioned in the last post is wrong. I suspect I'm ignoring some of the overhead somewhere, it's too late in the day to investigate further.
But for comparison, using the text from the Dunshalt Donut, we get:
Digraph compression: $3054 (data) + $140 (dictionary, fixed size) = $3194
DM compression: $21E0 (data) + $6D0 (dictionary, variable size) = $28B0
Difference: $8E4 (2276) bytes. So it looks like the DM compression is worth adjusting to work with this.
Jeremy
Clearly the compression ratio mentioned in the last post is wrong. I suspect I'm ignoring some of the overhead somewhere, it's too late in the day to investigate further.
But for comparison, using the text from the Dunshalt Donut, we get:
Digraph compression: $3054 (data) + $140 (dictionary, fixed size) = $3194
DM compression: $21E0 (data) + $6D0 (dictionary, variable size) = $28B0
Difference: $8E4 (2276) bytes. So it looks like the DM compression is worth adjusting to work with this.
Jeremy
Statistics: Posted by EdwardianDuck — Mon Sep 02, 2024 8:46 pm