Technically, it does indirectly. Length affects rigidity which in turn can affect accuracy. But in this case like many others, the human element won't be able to exploit the difference.Barrel length almost never affects accuracy. It will affect MV.
In the 2 platforms you mention, any difference will be immeasurable by the user.So then a shorter barrel will be more rigid and at shorter distances be more accurate, possibly??