When it comes to the Moto M, youre getting a Helio P15 processor, 4GB RAM and 32GB storage. That should result in speedy enough performance, even if it isnt the best spec sheet on the market. 4GB RAM is perfectly adequate for most tasks, and youve also got the option to upgrade the storage via the MicroSD card slot.
Meanwhile, the Moto G comes packing a Snapdragon 617, 2GB RAM, and either 16 or 32GB storage, which you can also expand with a MicroSD card. On paper, it looks like the Moto M takes this one, then. It has more RAM and what should be a faster processor.