The player can jump both forward and sideways with a maximum speed. If you do that both at once the end result is you exceed to maximum speed diagonally. Now if the player is on the ground he brakes to the maximum speed. So by keeping contact with the ground as brief as possible you maintain more speed.