News for hackers. Stuff that matters.
Re:SPIR-V Compression by joseraul on Sunday September 04, 2016 @10:09AM (#12424405)
Such specialized filters can improve compression a lot. For instance, the e8e9 transform converts relative jumps to absolute jumps in x86 EXEs, increasing compression because lots of jumps actually point to the same address.

http://mattmahoney.net/dc/dce.html#Section_571

Re:SPIR-V Compression by giovannibajo1 on Sunday September 04, 2016 @06:09AM (#12423628)
Interesting experiment, I'm always curious about data-class-dependent filters that affect compression.

In this case, I must say that it's not really exciting to see that, after all this work, zstd level 20 is comparable. If I were to choose, I wouldn't add a complex filter (which might even bring bugs) for a 1% final gain, but YMMV.

Re:SPIR-V Compression by fulafel on Sunday September 04, 2016 @08:38AM (#12424021)
The table says Zstd 20 gets down to 339.4 kB without the filter and 226.7 kB with the filter. This seems like a very good result for the filter.
Re:SPIR-V Compression by giovannibajo1 on Monday September 05, 2016 @05:07AM (#12429044)
Ah thanks, for some reason I misread the table. Yes indeed, very good results.
Re:SPIR-V Compression by erichocean on Sunday September 04, 2016 @02:42PM (#12425982)
Somewhat mis-leading graphs since higher-quality zlib compression levels weren't evaluated. Zstd is DOA thanks to Facebook's patent poison pill.
Re:SPIR-V Compression by ajosh on Sunday September 04, 2016 @08:06AM (#12423915)
This was a fun read for sure. It's always inspiring to see someone take on a new domain, learn something and produce something functional.