There is (or was) a man who lived in Borden, Indiana who has considerable experience in rimfire rifles. He wrote several articles for Precision Shooting magazine. His name is David Coffee/Caffee ?
His experience and his method of getting the maximum available accuracy from a .22 was to slug the barrel to find the tight spot.
Then cut off the rest of the barrel on the muzzle end AFTER the tight spot. Doesn't matter how long the barrel ends up being.
A friend of mine has a very nice air rifle that is only rifled for the last 1 or 2 inches of the barrel. He will tell you on a target with flies printed on it, which part of the wing he will hit.
Yep. Bill Calfee's the guy.
I'm pretty familiar with his methods, being that I hedge my barrel crowns the same way.
The trouble in the general market, though, is that people DO care how long the barrel is when it's done. Just because Bill sez that my blank "speaks" at 27.14" doesn't mean I want to carry that around in the woods, or even in target shooting less formal than BR, or where weight is a concern like Silhouette.
Short of ordering 10 blanks, the only way Bill could ever get an exact length barrel, and still get the muzzle he needed, was to cut off the back end. First, that doesn't always work out; even if given a 40" blank, the "right" 24 inches might just not be there. Second, and more pressing, is the fact that you could very likely run into breech diameter issues...you're cutting off the shank, afterall.
Anyway, the last one I did held air for something over a week, sitting in the corner.
Now my smith argued...well, not argued, but strongly questioned...why I wasn't having him 11-degree crown the barrel at the normal 20" length, and why was I asking for a 0.500" counterbored 90-degree crown in such an oddball place?... Well, I can't say he agreed with my method, and I can't say his CNC special setup was free...
...but my gawd does that Shilen Ratchet shoot.
Someday I guess I should actually measure how long that barrel actually finished.

Probably about 25"?
But the key takeaways here are that 1)for that rifle's purpose, I did not care one IOTA how long or short it was, and (2) I was full custom, with boutique barrel, and a lot of time and effort to make it do ONE thing REALLY well.
This guy's GENERAL question demanded a pretty general answer. I think we all agree that Bill Calfee is very much not 'general'! Hehehe...