3 ms·
> brotli literally already has a tokens for function/return/throw/indexOf(/.match/.length/etc. Yeah, I see it already has a lot of JavaScript, HTML and CSS con
by bhouston 3y ago
> brotli literally already has a tokens for function/return/throw/indexOf(/.match/.length/etc.
Yeah, I see it already has a lot of JavaScript, HTML and CSS content. Interesting. I didn't realize it had an existing web-focused token library, and figured it was more like zstd, 7z and zlib, which I believe have none.
I would love to do the experiment if I had time. I wonder what is the laziest way to do it?
- anonacct37 3y agoI've done that experiment with zstd before. https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md... Not sure about brotli though.