Skip to content

EstimateMissingFlow.process previously loaded the full image stack before checking whether the subvolume had any unmasked NaN flow entries. When most sections already have valid flows or fall inside exterior masks, these unused image reads dominate I/O and memory. - #133

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1024512934
Dec 3, 2026

Conversation

@copybara-service

Copy link
Copy Markdown

EstimateMissingFlow.process previously loaded the full image stack before checking whether the subvolume had any unmasked NaN flow entries. When most sections already have valid flows or fall inside exterior masks, these unused image reads dominate I/O and memory.

Return early before loading image data when all flow entries are valid or masked, and trim load_box along Z to active candidate and lookback slices.

…before checking whether the subvolume had any unmasked `NaN` flow entries. When most sections already have valid flows or fall inside exterior masks, these unused image reads dominate I/O and memory.

Return early before loading image data when all flow entries are valid or masked, and trim `load_box` along Z to active candidate and lookback slices.

PiperOrigin-RevId: 1035580336
@copybara-service
copybara-service Bot merged commit 3eff336 into main Dec 3, 2026
3 checks passed
@copybara-service
copybara-service Bot deleted the test_1024512934 branch December 3, 2026 19:19
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