One major problem with 22LR accuracy is the shape of the rear end of the bullet, which isn't as uniform as those of centerfire rounds with jacketed bullets. A longer barrel in a rimfire rifle may help with accuracy because bullets with "less than perfect" rear ends don't get as much of an angled kick when exiting longer barrels.