Nice. Nice nice nice. Super expert optimizations.<p>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. <a href="https://news.ycombinator.com/item?id=39892119">https://news.ycombinator.com/item?id=39892119</a> <a href="https://chromestatus.com/feature/6186023867908096" rel="nofollow">https://chromestatus.com/feature/6186023867908096</a><p>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.<p>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.<p>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.
Very cool! It's effectively treating code as an immutable data structure, so any code change only requires sending the changed code and a small main function.