I'm not completely sold on barrel length and bullet weight as a deciding factor.
This is covered extensively in many level1 sniper training theory courses. Also there are many good books about this subject.
For example these are high quality barrels made for match grade accuracy....
http://www.kriegerbarrels.com/DCM__AR_15-c1246-wp3394.htm
You will see the recommendations of not less than 1:7 for a 16" barrel (Currently the M4 standard GI twist of rate) and then either 1:7 or 1:8 in barrels from 18"to 20" for the higher grain bullets. 1:8 in 20" is good up to 77gr in most top end bullets although I get better results with the Hornady 75gr BTHP match. but the 77gr is perfectly stabilized. it is just a matter of my match rifle liking better the hornady 75gr better than the berger 77gr for example. Both loads are around and below 0.4 MOA which is very good for a national match rifle.
All boils down to internal ballistics and the characteristics of the specific bullet(grain, construction, length, speed), barrel twist, nr. of grooves, material, lenght, etc... Also you need to reload and work your quality loads up slowly with different combination until you find what your rifle 'likes'.
So this is why you have to follow manufactures and loading information as well as trying the rounds with your own system. Folks can give you direction and good advice but in the end you have to try, try, try.
Internal ballistics is also a complex world just like external ballistics.
1:9 is plenty for most people but if you want to try heavier match bullets you need to go to 1:8 in a 18" or 20" inches or even more.
In the AR you are maxed out at 77gr with the Bergers and SMKs due to COAL but you can try 80gr and even 90gr and 1:7 and 1:6.5 twists if you single feed them.
Some folks are modifying magazines to seat the 80gr bullets (Camega is a good one for this) but I don't get any better results than the 77gr or 75gr, again, IN MY CARBINE. Somone else's might be a different story.
Cheers,
E.