You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Performance Issue: Unnecessary Re-conversion of Coordinates in point_within_gca #936
The current implementation of point_within_gca unnecessarily re-converts lat/lon coordinates from Cartesian coordinates, which negatively impacts performance.
The following lines re-compute lat/lon from Cartesian coordinates:
However, Uxarray already stores lat/lon coordinates, which can be passed directly to avoid redundant computation. This approach reduces both time and space complexity while aligning better with the overall architecture.
Proposed Solution:
Pass the existing lat/lon coordinates directly to eliminate the unnecessary conversion.
Update upstream function calls to point_within_gca
Activity