|
|
|
|
|
by pxmpxm
1251 days ago
|
|
Internal storage will still be an order of magnitude slower than ram, right? Apple silicone memory bandwidth is like 100-200Gb/sec versus maybe 10Gb/sec for the ssd on a good day. Anyone can run on like a gig of heap, but nothing will be "fast", including apple silicone. |
|
But most big processes don't need everything to be present in memory to resume. You just need to bring in the code and data that will be used in the short term.
10 GB in a second is 1 GB in 100 ms or 100 MB in 10 ms or 1 MB in 100 µs.
For many programs, especially GUI programs, you can maybe swap in enough for the main event loop and whatever is being actively worked on in a couple ms. Then as the user continues working you might have to spend another ms or so when they do something that needs code or data that wasn't already brought in.