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

perf(rust, python, cli): use simd-json for all json parsing #8922

Merged
merged 11 commits into from May 19, 2023
Merged

Conversation

ritchie46
Copy link
Member

@ritchie46 ritchie46 commented May 19, 2023

Should fix #8424

This will be faster, removes a dependency (lower compile times) and will only use a single backend for simd parsing. And last but not least that backend is maintained. :)

@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels May 19, 2023
@@ -113,7 +113,8 @@ fn read_unordered_json() {

#[test]
fn read_ndjson_with_trailing_newline() {
let data = r#"{"Column1":"Value1"}\n"#;
Copy link
Member Author

Choose a reason for hiding this comment

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

This wasn't a new line char, but '\n'

@ritchie46 ritchie46 merged commit 17a62d6 into main May 19, 2023
14 checks passed
@ritchie46 ritchie46 deleted the json branch May 19, 2023 12:58
alexander-beedie pushed a commit to alexander-beedie/polars that referenced this pull request May 20, 2023
c-peters pushed a commit to c-peters/polars that referenced this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create DataFrame from json have garbled code
1 participant