4 ms·
Reading from RAM is certainly faster than disk, but reading less is faster than reading either from RAM or from disk. Chrome is a big application that tries to
by cbhl 8y ago
Reading from RAM is certainly faster than disk, but reading less is faster than reading either from RAM or from disk.
Chrome is a big application that tries to be everything for all people. If Desktop performance mattered to companies, folks would strip out the browser and use native components. (This is literally React Native on mobile, even if programmers are still mostly writing in JavaScript instead of C++ or Objective C or Swift.)
- larrik 8y ago> Reading from RAM is certainly faster than disk, but reading less is faster than reading either from RAM or from disk. This is just not true in a lot of ways. For example, you can use memory to store the same data in multiple ways, and then you get blistering fast access, whereas if you only store it in a single way, you may get a range of read performance between "as good" to "really really bad". I understand why what you said sounds true, but it's not that simple at all.
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- cbhl 8y agoYes, you're right. In hindsight, I wish I could delete that first sentence -- there are obvious counter-examples (ray tracing / movie rendering, search engines, memoization, dynamic programming).