20 ms·
The performance of zstd suffers without a dictionary, making it comparable to brotli on large files, but worse on small files. Lacking a clear source for a pub
by cratermoon 6y ago
The performance of zstd suffers without a dictionary, making it comparable to brotli on large files, but worse on small files.
Lacking a clear source for a public dictionary suited to the web corpus, there's not much point in putting it in browsers.
- Keithamus 6y agoBrotli has a static dictionary (contents of which can be seen here[1]) which was created from a web corpus. It’s part of the spec[2]. A derivative implementation of zstd could make use of this as a static dictionary. [1] https://gist.github.com/klauspost/2900d5ba6f9b65d69c8e https://gist.github.com/klauspost/2900d5ba6f9b65d69c8e [2] https://tools.ietf.org/html/rfc7932#appendix-A https://tools.ietf.org/html/rfc7932#appendix-A
- cratermoon 6y agoYeah I think the only holdup is getting an agreement on dictionary or, more likely, dictionaries, to be shipped with the spec implementation