The iPad Pro has 4GB with almost the same CPU and is absolutely snappy editing 4K videos, instantly switching in and out of apps etc. It’s a matter of software architecture and not raw space available.
Editing 4K videos doesn't strike me as particularly RAM intensive if you optimize the common behaviors (seeking, etc) properly in software and have a fast SSD.