Choosing the right stroke for a 340

Not exactly. A Pro Stock engine has a bore that ranges from 4.600 to almost 4.700 and the stroke is adjusted for the size of the bore. So...with a 4.600 bore the stroke will be right at 3.75. If you end up at a 4.700 bore you’ll be at a 3.600 stroke to stay under 500 inches. So for what they are, the Pro Stock engine uses a very short stroke and a big bore.
I stand corrected on the pro stock combination that makes up there displacement but will also say I have seen larger stroke engines rev very high.