Closed yakra closed 1 year ago
https://github.com/yakra/DataProcessing/blob/79af5333b8ee089245e24365459c334e2451a168/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp#L67-L88
Refactor all this ugly crap off into its own function.
https://github.com/yakra/DataProcessing/blob/79af5333b8ee089245e24365459c334e2451a168/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp#L67
The initial if statements could also be refactored away as part of this, but would result in an extra function call. Would there be a performance hit, however tiny, in practice?
if
Closing this as a duplicate of #239.
https://github.com/yakra/DataProcessing/blob/79af5333b8ee089245e24365459c334e2451a168/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp#L67-L88
Refactor all this ugly crap off into its own function.
https://github.com/yakra/DataProcessing/blob/79af5333b8ee089245e24365459c334e2451a168/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp#L67
The initial
if
statements could also be refactored away as part of this, but would result in an extra function call. Would there be a performance hit, however tiny, in practice?