But whether you load it with 2400 or H110, .357 magnum will indeed outperform anything in a 38-length case in all barrel lengths. I don't know where you get the idea it's a long barrel-only phenomenon. Magnum powders will gain more than with barrel length than faster powders, but if you have the case capacity to use them at design pressures the produce greater velocity regardless of the barrel length compared. .357 kicks like a mule in a snubbie, but it's still more powerful.
That is not my experience. While a .357 magnum loaded with a slow burning powder has the potential for high velocities from a short barrel, the greater the mean portion of powder that is unburnt when the bullet base exits the muzzle, the greater the potential for a low velocity shot. So while the highest velocities may be observed with slow powders in short barrels, the extreme spreads are also greater. If you look only at mean velocities of five shot groups, the .357 looks better in a short barrel than it really is, because you hit a target with the velocity of a bullet, not the mean velocity of a group.
Pressure should always be considered over time, and a powder's burn rate has to be considered in the pressure it's under. If we seat a bullet closer to the web and reduce the initial combustion cylinder volume, or if we use a faster burning powder, we move the pressure peak earlier on the time axis. That creates more area under the pressure curve on that early part of the time axis. But a fast burning powder is going to be consumed earlier on the time axis and the area under it's pressure curve later on the axis will be lower. This is also true for a powder with a slower burn rate that is burning under greater pressure. While the slower powder burning under earlier pressure will still have more area under the pressure curve later on the time axis than the faster powder, it is the slow burning powder with a later pressure peak that is going to have the most area under the pressure curve later on the time axis -- unless the bullet exits the barrel too soon.
I used to think the .38 Special had excess case capacity as a relic of it's black powder origin. I no longer think that. Instead, it's the SAAMI pressure rating that is the relic. If the bullet were seated deeper and closer to the web, there would be less initial combustion cylinder volume. That initial cylinder volume determines how much of any given powder can be loaded, not because of the physical space limit, but because of how much pressure the burning powder mass will create in that space. Larger cylinder volumes allow for more powder not only because there's more space to contain it, but because they result in peak pressure later on the time axis. Since the maximum pressure is occurring when the bullet is farther down the barrel, it takes the combustion of a greater mass of powder to reach peak pressure in that enlarged combustion cylinder. That greater mass of powder will continue to create a higher pressure level later on the time axis.
This is why .38 Super has more potential than 9x19mm. And the .38 Super Automatic uses the exact same case as the .38 ACP. The difference? The only difference is 36,500 psi instead of 26,500psi. Is .38 Super a bad idea because it can be chambered in .38 ACP guns?
This is also why .38 Special has more potential than 9x19 and .38 Super. Yes, you could say that .357 has more potential than the shorter brass cylinders of the same diameter, but at some point as you extend the cartridge longer and longer, you cannot get any more powder to burn within a pressure limit before the bullet exits. And as the mean portion of unburnt powder increases, so does the extreme spread and standard deviation of the percent powder burned before base exits muzzle, and consequently the ES and SD of the velocity of a set of bullets fired. That all happens sooner when the barrel is shorter.