<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dist_sq(self, other=None):
 """ For fast length comparison """

        v = self - other if other else self
        return sum(map(lambda a: a * a, v))