I don't have the experience to know how all the factors I'm listing below interact...or if I have the interactions correct...so I'll post what I "think" and learn where I'm wrong
I have heard that the way to determine optimal OAL for a firearm is to take a sized and expanded case start a bullet into it with your fingers, then gently push it into the chamber until it headspaces.
This will produce rounds where the bullet is just touching the start of the lands in the barrel which is supposed to reduce "trauma" to the bullet as it enters the rifling. Of course, this would need to be done for each firearm.
Shortening OAL will increase initial pressure inside the case and the initial velocity and the bullet will have some momentum when it hits the rifling.
I would expect the "slamming" into the rifling to cause a pressure spike and a reduction in the velocity...which the increased pressure might offset some?
With the max OAL determined above, the case will have the maximum powder capacity, which may or may not make any difference depending upon the powder used. The bullet will start resting against the lands which will cause more resistance than bullet inertia along..so that should increase starting pressure. I don't see a pressure spike in this.
I have no idea which will produce the highest muzzle velocity.
A related issue.
After loading for a Ruger Blackhawk, I tended to take the max powder load listed in the manuals as load to approach in small increments and with caution. I always depended upon case examination to show indications that pressure was nearing the max...particularly flattened primers...or even cratered primers if I push to far to fast.
Is that procedure valid for all firearms? Revolver, semi-auto, rifle, pistol, bolt action???
Thanks.