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

Starting from scratch with nothing, the only difference is a $400 (or less) 340 block. So now the 340 is at $1600 and the 318 is at $2000. If the money is moved to $2500 instead your window just closed. Doesn’t matter if you have a complete 318 because you can use the giveaway 318 crank/rods in the 340 and get the junk pistons. Now the playing field is level, use same heads-intake-cam-carb, ($2500 vs $2100) will $400 make up that 23 cubes? Personally I wouldn’t waste my money on either, that $2500 would go into a 360, cheap to find and much less than a stroker crank for the 318. My 5.9 has all the good stuff and I’ve got maybe $600 in it and will be above 450 hp.
Cheapest "good core - complete minus intake & carb" 340 I could find was 1500 bucks and I would have had to drive over 2 hrs to get it. Say a guy talked him down 200, after gas and burger/fries you are still at 1400 plus time. About 2 years ago I got a complete carb to pan good running LA318 for 125.00. I see at least 1200 more to spend on a 318 than the 340 in a 3k budget. I just think 22 cubes wouldn't make up the difference in for the extra 1200 I'd have to spend. And I think 1200 is conservative.... Again, fair market value.