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

[DelimitedText provider] Fix performance issue with files with Unix end-of-line characters #38735

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Sep 14, 2020

Fixes #38068

The performance regression was introduced per commit 644a564
It resulted in quadratic performance in the size of the buffer for CSV files
with Unix '\n' end of line character, due to scanning repeatedly for \r

…nd-of-line characters

Fixes qgis#38068

The performance regression was introduced per commit 644a564
It resulted in quadratic performance in the size of the buffer for CSV files
with Unix '\n' end of line character, due to scanning repeatedly for `\r`
@rouault rouault added Bug Either a bug report, or a bug fix. Let's hope for the latter! backport release-3_10 labels Sep 14, 2020
@github-actions github-actions bot added this to the 3.16.0 milestone Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scrolling attribute table of a layer added with the "delimted text provider" is almost impossible
2 participants