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

Merge Series and Spatial caches #71

Merged
merged 8 commits into from
May 8, 2024
Merged

Merge Series and Spatial caches #71

merged 8 commits into from
May 8, 2024

Conversation

Lun4m
Copy link
Collaborator

@Lun4m Lun4m commented May 6, 2024

Closes #70.

I left some comments that I guess I'll figure out when I start working on the next parts of the refactor.

@intarga, what do you think about having a Vec<Location> instead of the three Vec<lat>, Vec<lon>, Vec<elev>?
It would simplify the DataCache::new method and the run_test_spatial function, but it also requires changes in SpatialTree, and probably somewhere else I'm not aware of 😅

@intarga
Copy link
Member

intarga commented May 6, 2024

@intarga, what do you think about having a Vec instead of the three Vec, Vec, Vec?
It would simplify the DataCache::new method and the run_test_spatial function, but it also requires changes in SpatialTree, and probably somewhere else I'm not aware of 😅

That's a good idea! I'll make the relevant changes to SpatialTree and do this when I pull the type down into olympian

@intarga intarga added the enhancement New feature or request label May 6, 2024
@intarga intarga merged commit a8b3e00 into trunk May 8, 2024
1 check passed
@intarga intarga deleted the merge_caches branch May 8, 2024 08:21
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.

Unify SeriesCache and SpatialCache into a single data structure
2 participants