Longer barrels definitely make a difference on PCP and C02 performance, but springers are different and barrels that are too long can tend to slow down the pellet. John Bowkett did some tests with a spring rifle and published his findings in one of the magazines.
Baz