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

Use atree's new read-only iterators when mutation of returned values are not required #2836

Closed
fxamacker opened this issue Oct 3, 2023 · 1 comment

Comments

@fxamacker
Copy link
Member

Issue to be solved

New read-only iterators will be available in atree after onflow/atree#345 is merged.

Using the read-only iterators will be more efficient, etc. for use cases that don't need to mutate returned values.

Context

@fxamacker Could you please open a tech-debt follow-up issue in the Cadence repo, so that we don't forget to switch Cadence to the new read-only versions where possible?

Originally posted by @turbolent in onflow/atree#329 (comment)

Suggested Solution

Use atree's new read-only iterators when mutation of returned values are not required.

@fxamacker
Copy link
Member Author

Closed by #3170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants