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

Postpone Cell linking to CellRandomAccess.get() #329

Merged
merged 3 commits into from
Feb 11, 2023

Conversation

tpietzsch
Copy link
Member

Previously the CellRandomAccess would link Cell data to it's Type proxy as soon as it enters a new Cell.
Specifically, for LazyCellImgs this would trigger loading of the Cell (potentially unnecessary).
This PR changes this mechanics to link only when the first get() in a new Cell happens.

This addresses #252.

Previously the CellRandomAccess would link Cell data to the Type as soon
as the RA is positioned in a new Cell. Specifically, for LazyCellImgs
this would trigger loading of the Cell (potentially unnecessary).

This addresses #252.
@tpietzsch tpietzsch merged commit 5770a53 into master Feb 11, 2023
@tpietzsch tpietzsch deleted the postpone-cell-linking branch February 12, 2023 11:24
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