usually, the longer the bbl (with in reason) will provide more velocity as it allows the cartrige to burn most of the powder while keeping the bullet stabalized for maximum velocity/optimum stability
h/w, too long of a bbl and you begin to loose velocity as the bullet will start to drag and the powder is gone
there are other factors too, like the propelant and how fast it burns--faster burning powders will get better velocity from shorter bbl guns than regular poweder
usually, a bullet will loose 50-75fps for every 1in less of bbl from the usual lenghts (20in AR/M1A, 5vs4vs3in 1911s, etc)
i would get teh G19--best all around 9mm glock and the 4in bbl still provides near optimum velocity in a HG; h/w, if you were to shoot the same 9mm in a longer length bbl (~12in), you will get a lot more velociy--near maximum as all of the powder is burned, but past ~12in, the 9mm will begin to slow down
i'm pretty sure thats how it works, someone correct me if not, thanks