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

Adds loader option to use iterative-only loading #108

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

popematt
Copy link
Contributor

Issue #, if available:

None.

Description of changes:

This follows up on something I noted in #103—namely that sometimes the data loads faster if you "fallback" to iterative loading at depth=0.

  • Makes IonElementLoaderOptions not a data class, so that we can change it without it being a potentially breaking change every time.
  • Adds a builder class for IonElementLoaderOptions
  • Adds useRecursiveLoad option to IonElementLoaderOptions
  • Updates IonElementLoaderImpl to use the useRecursiveLoad option

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@popematt popematt merged commit 5bd70e0 into amazon-ion:master Sep 27, 2024
3 checks passed
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