Is the charging speed related to the length of the data cable?

Theoretically speaking, the shorter the length of the data line, the smaller the loss of the wire, the longer the length of the data line, the greater its resistance, and the same charging speed will be relatively slower, on the…