I should add, I do not actually know what Svelte is doing specifically. I would personally be interested in seeing a little breakdown of their key techniques. Maybe there are lessons that could be applied in Elm. Would be very curious to understand more!
And maybe it’s something that could be explored in the style of elm-optimize-level-2
so that it is not blocked on compiler releases or anything.