shorter barrels, of the same profile, are stiffer. stiffer barrels osilate less.
less osilation means less verticle stringing. Longer barrels add velocity until the friction of the bullet begins to slow its travel. This does not occur in any lenght you would carry. For your purpose get the lenght you want to carry.