Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid pickled storage (speed up orbits save/load) #84

Merged
merged 17 commits into from
Nov 6, 2023
Merged

Conversation

TomWagg
Copy link
Owner

@TomWagg TomWagg commented Nov 6, 2023

Change orbit storage to use a single table in hdf5 with a key of offsets for the different length orbits. Lazy load everything so loading a population is fast when not asking for orbits. Final positions and velocities are calculated much faster without orbits too. Essentially this makes a lot of things faster when you don't touch the full orbits and also uses less disk space 😄

This will fix #74 and will fix #75 and will fix #77

@TomWagg TomWagg added enhancement New feature or request development tests, automation, code improvements labels Nov 6, 2023
@TomWagg TomWagg self-assigned this Nov 6, 2023
Copy link

github-actions bot commented Nov 6, 2023

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1227 1208 98% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 1ef1e42 by action🐍

@TomWagg TomWagg merged commit 3cd6a06 into main Nov 6, 2023
1 check passed
@TomWagg TomWagg deleted the pickles_are_bad branch November 6, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development tests, automation, code improvements enhancement New feature or request
Projects
None yet
1 participant