Length does not effect accuracy.
HUM Yes it does. The more time it spends in the barrel the better it will stabilize the bullet. Also a little extra length never hurt anything (That's what she said).
My 20" shoots amazing groups.
What kind of a barrel are you using? Chrome lined are not as accurate as unlined CRM or SS.