Today, dollar for dollar, is the 318 faster than the 340 ???

5.2 magnum already has higher compression than a 5.9 magnum. You just have to spin the 5.2 6,300 or so on a 230 or so duration cam before it peaks

Forgot to add if you want more compression get the thinner head gaskets