VOGONS


OT and Obsolete: Better text compression?

Topic actions

Reply 60 of 61, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

write a test file where you manually know what the outputs should be. like "aaaabbbbcccc" and you know what to expect and keep building new more complex tests where you know what the output is expected to be and when its not, you can work out why.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 61 of 61, by Harry Potter

User metadata
Rank Oldbie
Rank
Oldbie

Thank you. The program right now is displaying a whole lot of diagnostic information upon execution and is only displaying two tokens after sorting. This shouldn't be, as the text compiles to 1370 bytes uncompressed. Earlier in the process, the raw tokens found were more realistic, though.

Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community