When playing in creative mode, walking, and hitting blocks with your sword, your avatar halts after each swing. It does not affect the actual momentum you have, but it freezes your character for about 1 game tick and then continues on.
Linked issues
Comments 2
Duplicate of MC-157436
This has been reported before btw. i just saw one that had this same issue.