Skip to content

Add caching to new functions in v1.5#266

Merged
attipaci merged 1 commit into
mainfrom
cache-v1.5
Oct 20, 2025
Merged

Add caching to new functions in v1.5#266
attipaci merged 1 commit into
mainfrom
cache-v1.5

Conversation

@attipaci

@attipaci attipaci commented Oct 20, 2025

Copy link
Copy Markdown
Collaborator

Add caching to recently introduced intensive calculations, so that repeated calls with the same parameters as before can return fast.

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

codecov Bot commented Oct 20, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.84%. Comparing base (57202fc) to head (a2ec31e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #266   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files          24       24           
  Lines        4589     4609   +20     
  Branches      903      911    +8     
=======================================
+ Hits         4582     4602   +20     
  Partials        7        7           
Flag Coverage Δ
unittests 99.84% <100.00%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
src/earth.c 100.00% <100.00%> (ø)
src/frames.c 99.86% <100.00%> (-0.01%) ⬇️
src/planets.c 99.25% <100.00%> (+0.02%) ⬆️
src/timescale.c 100.00% <100.00%> (ø)
src/util.c 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 57202fc...a2ec31e. 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 force-pushed the cache-v1.5 branch 7 times, most recently from 8406387 to 9335e6e Compare October 20, 2025 09:48
@attipaci attipaci marked this pull request as ready for review October 20, 2025 09:58
@attipaci attipaci merged commit 8a1a7cf into main Oct 20, 2025
27 checks passed
@attipaci attipaci deleted the cache-v1.5 branch October 20, 2025 10:01
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