3 ms·
Where does it say that Brotli is for small English text documents? I didn't see anything like that in the draft spec or the Google blog post. The spec doesn't
by zurn 11y ago
Where does it say that Brotli is for small English text documents? I didn't see anything like that in the draft spec or the Google blog post.
The spec doesn't say much on the subject but has this item in the Purpouse section: "Compresses data with a compression ratio comparable to the best currently available general-purpose compression methods and in particular considerably better than the gzip program"
- wmf 11y agoBrotli includes a built-in dictionary that contains a lot of English words, HTML tags, etc. so it will give better compression for that kind of input.
- zurn 11y agoYes, it has that optimization for short data (though it's not restricted to English), but the PR and specs say it's still meant to be a general purpouse compressor. And it does very well on most types of large data.