H Series 32 GB DDR5 RAM or G Series 64 GB DDR4 RAM

I was just wondering if a 32GB DDR5 RAM laptop would preform better than a 64GB DDR4 RAM laptop.
 
Main use of it is to use Windows Subsystem for Linux and install Ubuntu on top of Windows running together.