Accessing data from the fastest L1 cache takes merely 1-3 CPU cycles (~1 nanosecond), while fetching from main memory (RAM) can cost 60-100 cycles, or even over 200 cycles for a cache miss, making it 50 to 100 times slower.
Open the full topic