Depending on bullet weight, type, cartridge brand, etc, you generally won't see any more than 30 to 60 fps loss in velocity going from 22" barrel to 20" in.308. And in most cases you'll have complete powder burn with either. Not enough to lose sleep over.
That being said, there are so many varieties of factory .308 and powders for handloading available, you may see a greater spread in velocities in some cases.
A 22" barrel for a bolt gun is the sweet spot for me in.308 and a few other calibers. 18" to 20" is scout rifle territory, and that's probably what I'd do with a barrel length in that range.