The whole 'art' of tweaking electric motors like the 540 has been documented and can probably be found on the Internet somewhere...but basically,
Bedding in the brushes when new gave performance advantages - used to be done by either a long run in period with just enough voltage to turn it over, clean out and then install in model. Alternatively, a high speed dunk into a water bath which softened the brushes and helped seat them better on the comm' , dry out, re-lube and install. (Legal mod)
Advancing the timing of the motor by as much as 45 degrees could be done to give a little extra RPM in one direction only by rotating the endbell, lift the tags carefully and rotate the end plate and listen to the change in speed - better if you have a tach' and an ammeter connected to check results. (Illegal mod!
Re-wiring the armature is also possible, reducing the number of turns, increasing the thickness of the wire or both alters performance also. It was once said that one of the coils in Mabuchi motors was wired in the opposite direction to the other two due to the way the production machine worked, removing the wire and reversing the direction of wind made motors a lot more efficient and wasn't classed as a modification. Bit like the lost art of 'blue printing' was for real engines.
What did the article say in one of the early model boat mags, Mabuchi produced millions of motors per day world wide, there will be some better than others.