4 ms·
Using zstd for binary diffs is something I would never expect. I wonder how it compares to e.g. the library that Chrome uses: https://blog.chromium.org/2009/07/
by nasretdinov 7mo ago
Using zstd for binary diffs is something I would never expect. I wonder how it compares to e.g. the library that Chrome uses: https://blog.chromium.org/2009/07/smaller-is-faster-and-safer-too.html?m=1 https://blog.chromium.org/2009/07/smaller-is-faster-and-safe... (this is from 2009 so maybe they made it better since)
- lights0123 7mo agoThey moved on to Courgette, then to Zucchini: https://chromium.googlesource.com/chromium/src/+/HEAD/components/zucchini/ https://chromium.googlesource.com/chromium/src/+/HEAD/compon... These are optimized for compiled code though.
- oddurmagnusson 7mo agoOur updates are not only code, since it's a game, its mixture of game assets( textures, sounds, large json files... ) and code. Zstd is pretty good all around. For pure code updates, I'd probably evaluate code compressions rather than zstd; I know there is an ecosystem of those out there.