Motor cables are defined as long when the motor frame is not bonded close enough to the drive panel to be considered a single ground plane. To be considered a single ground plane, the parts must be connected by a surface which is no longer than ten times its width.
Here is where metallurgy comes into play. A motor rich in magnetically soft material will be more efficient, producing more work with less heat. And since the magnetic capacity of a motor also is influenced by the amount of active material (more core, more laminations), the tendency might be to try to add as much magnetically soft material to your design as possible.