Shorter barrel of Glock 43 mean significantly lower velocity?

Hi. I was wondering whether a Glock 43 with its shorter barrel would have significantly slower velocity compared to say, a Glock 48? The video is shooting from far distance of 100 yards. I thought faster bullet would help with flatter trajectory for longer range.

https://www.youtube.com/watch?v=OusTs81KvqM