Servo Speed Control

I thought that the function of analog map

"analog map"?

The purpose of the map() function is to convert values in one range to another range. When the start of each range is the same, the result is simply a division operation dividing the from upper limit (1023) by the to upper limit (50). Since 1023/50 is 40, dividing the analogRead() value by 40 is faster than map().