Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"09-03-10 - LZ and Exclusions"

3 Comments -

1 – 3 of 3
Comment deleted

This comment has been removed by the author.

September 3, 2010 at 10:34 PM

Blogger Will said...

I didn't get the full treatment you did, but http://encode.ru/threads/1123-History-tables-for-LZ-compressors went a bit in that direction; I did implement it in balz, but whilst it improved greedy coders, it didn't regain the advantage of semi-optimal coding that balz previously had. I probably didn't do a good job of it though.

September 13, 2010 at 12:33 AM

Blogger cbloom said...

Yeah, I'm sure you're right that getting the exclusions right is not as important as optimal parsing, or even semi-optimal "flexible" parsing.

It's kind of a weird thing that the redundancy in the LZ encoding actually helps if you make good use of it.

For the exclusions to be valid you have to always be coding a match when it's possible to do so, and coding the maximum length match.

The XOR-after-match thing that LZMA does sort of lets you "exclude" the following byte in a statistical way, eg. it still works even if you optimal parse, it's just that instead of the next byte never being zero it's only zero when you wrote a match that wasn't the maximum possible length.

September 13, 2010 at 12:48 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.