Skip to content

parser_csv: improve parse performance and reduce memory allocation#5354

Merged
Watson1978 merged 1 commit into
fluent:masterfrom
Watson1978:parser_csv
May 11, 2026
Merged

parser_csv: improve parse performance and reduce memory allocation#5354
Watson1978 merged 1 commit into
fluent:masterfrom
Watson1978:parser_csv

Conversation

@Watson1978
Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:
Fixes #

What this PR does / why we need it:
This commit replaces Hash[@keys.zip(values)] with a while loop in CSVParser#parse.

This is same with #5344

Docs Changes:

Release Note:

@Watson1978 Watson1978 requested a review from kenhys May 9, 2026 07:27
@Watson1978 Watson1978 added this to the v1.20.0 milestone May 9, 2026
@Watson1978 Watson1978 marked this pull request as draft May 9, 2026 08:47
@Watson1978
Copy link
Copy Markdown
Contributor Author

Wait to merge #5355.
I think the PR will causes conflict with this.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 marked this pull request as ready for review May 11, 2026 01:36
Copy link
Copy Markdown
Contributor

@kenhys kenhys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Watson1978 Watson1978 merged commit 6ad52b0 into fluent:master May 11, 2026
20 of 21 checks passed
@Watson1978 Watson1978 deleted the parser_csv branch May 11, 2026 02:10
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