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

Add a new parser that does not buffer lines #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

riquito
Copy link
Owner

@riquito riquito commented Feb 12, 2024

We do already stream data, with a caveat: we keep each line in memory. If a single line were to exceed the amount of memory we can allocate, tuc would crash (and before that happens your computer wouldn't be too happy).

In some scenarios we can use a pure streaming algorithm that does not buffer lines. Among other things that we can't support when we use the streaming alg is that we won't support negative indices for fields (because that require to read the line first). Other options too won't be available. As for "fast lane", we will use this route only if the options provided by the user allows it.

@riquito riquito force-pushed the stream branch 2 times, most recently from 215513e to 493e400 Compare March 14, 2024 23:38
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