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

Use reader/write, not DictReader/DictWriter for CSV #72

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

mtmail
Copy link
Contributor

@mtmail mtmail commented Jul 21, 2023

closes #71

Use csv.writer instead of csv.DictWriter which makes the filter scripts faster. Up to 50% though in the sql2csv step I see only 10% overall.

@mtmail mtmail merged commit c9e6f65 into osm-search:master Jul 21, 2023
1 check passed
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.

speed up CSV writing
1 participant