The idea that crank length is related to leg length is a canard that limps from the Seventies into the 21st century thanks to the opportunity that the internet affords idiots.
Fortunately, even a cursory search of the internet provides adequate ammunition to debunk anyone who says otherwise.
As does a rudimentary consideration of the "problem": whilst pedalling you describe a circle and if anyone would like to explain how the length of one lever is dependent upon another, I'll happily post a .GIF of a waving hand, followed by "the finger".
Shorter cranks will stiffen-up your gearing, the reduced foot-speed (for the same cadence) is beneficial if you're turning a fixed wheel and the reduction in flexion can reduce knee/ankle agitation, otherwise it's placebo/bias-confirmation.
Crank length, like Q-factor, falls within the gamut of self-selectable criteria that you are (unconsciously) capable of adjusting for: ie ride what you have/like/want and ignore anyone who tells you otherwise.