Skip to content

Cache isolated nodes - #3322

Closed
benjeffery wants to merge 1 commit into
tskit-dev:mainfrom
benjeffery:isolated-perf
Closed

benjeffery wants to merge 1 commit into
tskit-dev:mainfrom
benjeffery:isolated-perf

Conversation

@benjeffery

Copy link
Copy Markdown
Member

Fixes #3318

Having coded this up I now think the complexity likely isn't worth it. It only matters if you are asking for lots of nodes and have many sites per tree. I can quantify that if we think it's worth looking into.

@codecov

codecov Bot commented Nov 12, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.80%. Comparing base (8e6b1e6) to head (8dc329d).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
c/tskit/genotypes.c 95.83% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3322   +/-   ##
=======================================
  Coverage   89.79%   89.80%           
=======================================
  Files          29       29           
  Lines       31056    31072   +16     
  Branches     5685     5687    +2     
=======================================
+ Hits        27888    27904   +16     
  Misses       1779     1779           
  Partials     1389     1389           
Flag Coverage Δ
c-tests 86.85% <95.83%> (+0.01%) ⬆️
lwt-tests 80.38% <ø> (ø)
python-c-tests 87.05% <ø> (ø)
python-tests 98.84% <ø> (ø)
python-tests-no-jit 33.58% <ø> (ø)
python-tests-numpy1 50.14% <ø> (ø)

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

Files with missing lines Coverage Δ
c/tskit/genotypes.c 85.16% <95.83%> (+0.68%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeromekelleher

Copy link
Copy Markdown
Member

Dropping sgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Isolated as missing perf

2 participants