When activating acceleration setting I can see some double commands like below.
On the first occurrence we have a change of acceleration without need.
It causes extra bytes on g-code, additional processing time to generate g-code and unnecessary communication cycles with the printer.
In the attached case, we have 7,968 duplicated occurrences from 45,836, so a rate of around 17% of duplicated commands.
Is it possible to remove the unnecessary commands?
Cleanup duplicated M204 commands. #2183
Thank you, done
I has to come here and congratulate you for the improvement.
You not only removed the sequential duplicated cases but all the duplication cases along the movement commands.
Just to illustrate, I had a file with around 14,000 M204 commands, but now with the fix it contains only 5,500 (!).