Geographic code is mostly fine to copy back in, but the geographic data types take up lots of memory. Store geographic data as tuples only, not instances of classes. Modify the subtraction methods to change to more straighforward calls for straight_line_distance or great_circle_distance so the subtraction is easier to understand.
Geographic code is mostly fine to copy back in, but the geographic data types take up lots of memory. Store geographic data as tuples only, not instances of classes. Modify the subtraction methods to change to more straighforward calls for
straight_line_distanceorgreat_circle_distanceso the subtraction is easier to understand.