I doubt you'll ever find a factory made high power rifle barrel long enough where the bullet slows from friction or the powder burns completely.
There's a very good reason why you don't want a "total burn" of the powder. It became even more apparent when T/C's started getting popular.
For explanation purposes only, lets say you loaded 40 grains of powder in a given cartridge. Then lets say only 38 grains burned. If you chronograph that load, you would find the max velocity spread for 100 shots would be very low, 25 fps. Take the same cartridge and only put 38 grains of powder in it and you'll see the max velocity spread will be quite high 100 fps. Now lets load that original cartridge in a 14" T/C gun. Lets say only 30 grains of powder burned. Now your max spread is very tight, 10 fps is not unusual. Max velocity spread has a great deal to do with accuracy. The change in velocity will cause vertical stringing and the rifling twist will cause horizontal stringing. In other words, your groups would open up a lot if all the powder burned.
Why is this you may ask? Powder is thought to be very consistent, it is not. Primers vary considerably. crimp or neck pressure varies a lot. Even some bullets are not exactly the same weight. All these variables are overcome with a little extra powder. The gun tends to burn only a certain percentage, the extra burns in the air causing a muzzle flash.
So why don't we just charge our loads with more powder? Actually, that's already built into the recipe you see in the reloading manuals. Over charging will increase the chamber pressure and could cause the gun to blow up.
This "trick" has been used for many years by ammo manufacturers. Using the right type of powder will make the gun more accurate by "wasting" a little bit so the muzzle velocity remains very consistent.
There's more to the formula than barrel length. The bore diameter, bullet weight, and case capacity all play a big roll. Too much for this post.
Bottom line: don't worry about barrel length, the gun manufacturers take care of those details.