I know in some areas size doesn't matter (thankfully)

BUT
If you were going to get a .308 and had the choice of 20”/ 24”/ 26” 1 in 12” twist, stainless steel barrel, which one would you go for?
As I intend to use the rifle for prone shooting at the range, I was thinking go for the longest in order to maximise round velocity.
Is my thinking flawed? I am the first to admit I am a very inexperienced full bore shooter, so all education is gratefully received.
Regards
Bob