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

That's about right, it takes a little more than most think to get 400 HP out of a 340.
The 340 was pretty much optimized from the factory.
Got a link to the test