If you were to SCOPE both guns, then NO, a longer barrel would make no diffference (since you remove the variable of the sight plane). HOWEVER--
if you are talking about shooting at targets aways out there, that extra couple of inches gives your magnums a little more room to build up a better head of steam, which means a flatter trajectory--and thus potentially greater practical accuracy at long distance. Maybe not much, but a little.