I would have argued that memory was far more important than CPU in quickly judging the performance of a machine, once the 7th generation Intels made dual-core obsolete. But the M1 seems to buck this trend a bit as well, given that it only has an 8GB and 16GB variant and its new unified memory model makes traditional estimates of how much memory is needed less important. Some workloads such as an in-memory database won't change, but the memory usage for GUI rendering, graphics, etc. can take advantage of much faster accesses. And, with SSDs which are now considered a must-have for any serious machine, paging to disk is far less expensive than before in any case.
On another note, the M1 iPad Pro is the first time Apple has ever officially confirmed or marketed, let alone offered a choice in, the RAM for an iOS/iPadOS device.