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

The extra stroke of a 360 makes a hella difference.
I’ve heard people that ran a 340, then switched to a comparable 360, and say they will not go back.
My observation, Your milage may vary.