4 ms·
Nice. Nice nice nice. Super expert optimizations. I knew Zstd & custom-dictionaries were coming to browsers soon, but v8's coverage expounded on this in a lot
by jauntywundrkind 3y ago
Nice. Nice nice nice. Super expert optimizations.
I knew Zstd & custom-dictionaries were coming to browsers soon, but v8's coverage expounded on this in a lot of directions I didn't expect. Really neat. https://news.ycombinator.com/item?id=39892119 https://news.ycombinator.com/item?id=39892119 https://chromestatus.com/feature/6186023867908096 https://chromestatus.com/feature/6186023867908096
Being able to use existing code as the dictionary for new code seems like it might claim a ton of the bandwidth wins here. A ton.
But! But this idea that V8 caches the bytecode, that really adds a huge dimension of mechanistic sympathy that can be tapped, that can be evaluated.
With a little rejiggering most of these optimizations would probably be able to be kept as is, plus a little extra dictionary encoded to eek a decent but more transport wins out with. But I do love how Zstd work does gain a lot of the transport wins here. Stellar work all around, awesome to see great ideas concur & converge.