-
-
Notifications
You must be signed in to change notification settings - Fork 99
Unroll the Zeek TSV header parsing loop #3291
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
Conversation
f006d23
to
98a3fc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this so quickly.
I confirmed locally that this works as expected by making the file loader return chunks of size 16 rather than 16,384, which would guarantee that I run into the error all the time. I don't anymore, so this is good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to actually submit my local changes before as part of the approving review, these two must get in.
…arsing Co-authored-by: Dominik Lohmann <mail@dominiklohmann.de>
Co-authored-by: Dominik Lohmann <mail@dominiklohmann.de>
This change unrolls the header parsing loop in the
zeek-tsv
parser to allow early yielding during header parsing.