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

I wonder if a 340 LA would benefit from the roller lifter cam etc. how many HP? at least 10 I would hope.