Accessing data from memory is usually orders of magnitude faster than accessing data from disk
Right, but keep in mind that there is some caching is done by the kernel. If a system has enough RAM, most files that needs it will be cached in RAM and not fetched from the disk!