2 ms·
1. it's a ton of data 2. it's very messy data, it's a bunch of seas of nodes (the DOM, the JS heap, the styling info, etc...) 3. I wouldn't be surprised if it
by masklinn 4y ago
1. it's a ton of data
2. it's very messy data, it's a bunch of seas of nodes (the DOM, the JS heap, the styling info, etc...)
3. I wouldn't be surprised if it was data which isn't fully isolated (e.g. shared style caches), meaning it first has to be fully forked to resolve into a self-contained bundle
OS have the ability to just freeze and store / restore memory, but I'm not sure they give that capability to use processes.
- andai 4y agoIf I'm not mistaken, the original Word document file format was a RAM dump.
- masklinn 4y agoSure, so were save files for many older games, but it was a dump of the document / game state, which was a fraction of the running program, and probably designed for that in mind in the first place. Image-based systems (smalltalk, self) would probably be a better model for a live tab, but it still requires things to line up.