A rifle is more accurate at a distance. With a pistol the swing angle is much more pronounced the farther away the target is. Long barrel vs short barrel.