If built similar, the 360 will flat out kick the 340 in the nads. This is assuming similar cam specs, compression..etc. The longer stroke provides more low end torque on the street which is what you want.
For one longer stroke doesn't make more torque displacement does a 0.40" 400 (408 ) RB and a 408 LA has the same torque producing ability because while the crank will multiply the cylinder pressure the RB has a bigger piston (more cylinder pressure) equaling out the the effect.
Secondly its also wrong that an equally build 340/360 that the 360 will kick the 340 or 318 for that matter in the nads because of torque, maybe cause of bad setup but not because of torque because a 400hp engine no matter if its a 2l 318 340 360 440 540 all can accomplish the same amout of work in the same amount of time thats the definition of horsepower= move 33000lb 1 foot in 1 minute. Or cars weight/quarter mile/E.T.