Skip to content

Conversation

@mikix
Copy link
Contributor

@mikix mikix commented Jan 29, 2025

Previously, we expanded the iterator of rows we were handed and turned it into an in-memory list. (This didn't used to matter too much, since all known consumers were holding the rows in memory already.)

But this isn't actually necessary - we can just iterate through the rows once and calculate what we need. Which allows for "larger than memory" datasets as needed.

Previously, we expanded the iterator of rows we were handed and turned
it into an in-memory list.

This isn't actually necessary - we can just iterate through the rows
and calculate what we need.
@github-actions
Copy link

github-actions bot commented Jan 29, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
158 158 100% 100% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cumulus_fhir_support/init.py 100% 🟢
cumulus_fhir_support/schemas.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 503c739 by action🐍

@mikix mikix merged commit ca7dc05 into main Feb 4, 2025
6 checks passed
@mikix mikix deleted the mikix/low-mem branch February 4, 2025 14:32
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.

2 participants