Do you have any real hard data that lets you to claim that macOS or iOS are more efficient than Linux or even Windows?
Of course, nothing will help you if you really want to run horrible applications, but at least the base system is optimized. You can run quite a lot of workloads even on an 8Gb Mac.