Skip to content

Fixing runtime issues of GeoUtils.calcHaversine#509

Draft
sebastian-peter wants to merge 3 commits into
mainfrom
sp/#508-runtime-calcHaversine
Draft

Fixing runtime issues of GeoUtils.calcHaversine#509
sebastian-peter wants to merge 3 commits into
mainfrom
sp/#508-runtime-calcHaversine

Conversation

@sebastian-peter

@sebastian-peter sebastian-peter commented Nov 28, 2024

Copy link
Copy Markdown
Member

Resolves #508

I also created a function that does not use Quantities at all for even fast execution. Also fixed some typos.

Another solution would probably be to port GeoUtils to scala and to use squants then. Don't know if we still have any Java tool that relies on GeoUtils.

@sebastian-peter sebastian-peter added the bug Something isn't working label Nov 28, 2024
@sebastian-peter sebastian-peter added this to the Version 2.2.1 milestone Nov 28, 2024
@sebastian-peter sebastian-peter self-assigned this Nov 28, 2024
@sonarqubegithubprchecks

Copy link
Copy Markdown

Passed

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage 100.00% Coverage (65.70% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.00% Estimated after merge)

Project ID: edu.ie3:utils

View in SonarQube

@sebastian-peter sebastian-peter marked this pull request as draft November 28, 2024 15:15
@sebastian-peter sebastian-peter removed this from the Version 2.2.1 milestone Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix catastrophic runtime of GeoUtils.calcHaversine due to Quantities

1 participant