I don't usually bump into heavy swap usage except when I wake my laptop from hibernate. I tend to close browsers before hibernating because it's faster to just resume the last session from a cold start then load from swap.
I don't usually bump into heavy swap usage except when I wake my laptop from hibernate. I tend to close browsers before hibernating because it's faster to just resume the last session from a cold start then load from swap.
Edit: Chromium has this: https://chromium.googlesource.com/chromium/src/base/+/master...
[1] https://chromium.googlesource.com/chromium/src/base/+/master...
I made a neat little application-accessible key-value cache that used these pages. It means you can write keys that end up in your OS's file buffer cache, and if the OS doesn't need that RAM for anything else, you can read them back later.
http://williamedwardscoder.tumblr.com/post/13363076806/buffc...
Sadly not a mainstream thing :( ;)
Network is slower than disk (is slower than memory). So if "recalculate" means getting it from the internet, then probably getting it from disk is faster in most cases.
The internet is rarely faster than disk unless you're in a major data centre.
And then... this is assuming you're referring to spinning rust. local disks in the form of SSDs will be faster again.