Skip to content

Faster nutations#210

Merged
attipaci merged 1 commit into
nextfrom
faster-nutations
Aug 21, 2025
Merged

Faster nutations#210
attipaci merged 1 commit into
nextfrom
faster-nutations

Conversation

@attipaci

Copy link
Copy Markdown
Collaborator

Speed up nutations by about 2x, by limiting the range of terms added.

@attipaci attipaci added this to the 1.5.0 milestone Aug 18, 2025
@attipaci attipaci self-assigned this Aug 18, 2025
@attipaci attipaci added the enhancement New feature or request label Aug 18, 2025
@codecov

codecov Bot commented Aug 18, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (next@4205fbf). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             next     #210   +/-   ##
=======================================
  Coverage        ?   99.91%           
=======================================
  Files           ?       23           
  Lines           ?     4518           
  Branches        ?      841           
=======================================
  Hits            ?     4514           
  Misses          ?        0           
  Partials        ?        4           
Flag Coverage Δ
unittests 99.91% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/nutation.c 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4205fbf...2378559. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@attipaci attipaci merged commit c98cdf8 into next Aug 21, 2025
14 checks passed
@attipaci attipaci deleted the faster-nutations branch August 21, 2025 07:27
traitimtrongvag added a commit to traitimtrongvag/SuperNOVAS that referenced this pull request Jun 24, 2026
Replace per-element if-chain with from/to range loop in nu2000k
planetary nutation, matching the optimization applied to sum_terms
in PR Sigmyne#210 (4890241). Eliminates ~7.8 dead iterations per term
by skipping always-zero columns (l', Mercury, Uranus, Neptune).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant