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

Refactor StreamReader #177

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Refactor StreamReader #177

wants to merge 14 commits into from

Conversation

aSemy
Copy link
Collaborator

@aSemy aSemy commented May 11, 2024

Avoid eagerly fetching data.

Use ArrayDeque as a buffer instead of custom array with manual index management.

aSemy added 2 commits July 1, 2024 12:59
# Conflicts:
#	src/commonMain/kotlin/it/krzeminski/snakeyaml/engine/kmp/exceptions/Mark.kt
#	src/commonMain/kotlin/it/krzeminski/snakeyaml/engine/kmp/scanner/StreamReader.kt
#	src/jvmMain/java/it/krzeminski/snakeyaml/engine/kmp/api/Load.kt
#	src/jvmTest/java/it/krzeminski/snakeyaml/engine/kmp/scanner/StreamReaderTest.kt
#	src/jvmTest/java/org/snakeyaml/engine/issues/issue51/LoadSettingsBufferSizeTest.java
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