Skip to content

add caching to _extract_spatial_extent_from_constraint_load_stac#1567

Closed
soxofaan wants to merge 3 commits intomasterfrom
issue1565-extract-extent-from-constraints-with-caching
Closed

add caching to _extract_spatial_extent_from_constraint_load_stac#1567
soxofaan wants to merge 3 commits intomasterfrom
issue1565-extract-extent-from-constraints-with-caching

Conversation

@soxofaan
Copy link
Member

for #1565

@soxofaan soxofaan force-pushed the issue1565-extract-extent-from-constraints-with-caching branch from 78b9da6 to f010650 Compare March 2, 2026 18:08
@soxofaan
Copy link
Member Author

soxofaan commented Mar 3, 2026

probably not going to merge this. There is by now already caching in a couple of other places

however, some parts of this PR are interesting to keep (e.g. added hashability of some objects), so I'm going to cherry pick those separately

@soxofaan soxofaan force-pushed the issue1565-extract-extent-from-constraints-with-caching branch from f010650 to f9f873d Compare March 3, 2026 10:38
soxofaan added 3 commits March 3, 2026 11:46
introduces caching on _extract_spatial_extent_from_load_stac_item_collection calls

involves introducing new caching utilities (GetOrCallCacheInterface)
and making some data structs cache key compatible (__hash__ + __eq__)
@soxofaan soxofaan force-pushed the issue1565-extract-extent-from-constraints-with-caching branch from f9f873d to 4485f55 Compare March 3, 2026 10:48
@soxofaan
Copy link
Member Author

soxofaan commented Mar 3, 2026

the addition of feature flags with fe4f077 also make this place less ideal to add cache to, so closing

@soxofaan soxofaan closed this Mar 3, 2026
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