All materials being the same (metal grade, heat treating, diameter, taper of diameter, etc), shorter barrels will whip less.
That's the whole premise of going shorter on accuracy guns, and the whole thread that we started about it. There's some great info in that thread that directly ties into this conversation, right here.