Skip to content

Remove redundant particle sorting - #229

Merged
robjmcgibbon merged 11 commits into
masterfrom
issue_64
Sep 15, 2026
Merged

robjmcgibbon merged 11 commits into
masterfrom
issue_64

Conversation

@robjmcgibbon

@robjmcgibbon robjmcgibbon commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Addresses #64. Instead of each of the four halo property calculations (SO, apertures, subhalo, projected apertures) independently loading and masking particle data, a single SharedHaloParticleData object is now built once per halo and cached across the calculations that use the same particle selection. Gives a roughly ~ 15% reduction in the time it takes to process the halos.

@robjmcgibbon
robjmcgibbon marked this pull request as ready for review September 15, 2026 12:05
@robjmcgibbon
robjmcgibbon merged commit 987119e into master Sep 15, 2026
2 checks passed
@robjmcgibbon
robjmcgibbon deleted the issue_64 branch September 15, 2026 12:26
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.

1 participant