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

Surprisingly slow parsing #51

Open
mgree opened this issue Oct 1, 2021 · 0 comments
Open

Surprisingly slow parsing #51

mgree opened this issue Oct 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mgree
Copy link
Owner

mgree commented Oct 1, 2021

When running on the citylots JSON file, parsing takes a long, long time. Way longer than I expected---since I was told to "expect in the ballpark of 500 to 1000 megabytes per second deserialization". I suspect I'm doing something wrong.

Relatedly, lazy loading only saves time on loading, not parsing. Can we use serde_json::RawValue and similar tricks to parse but defer construction? I'm not sure every format supports this.

@mgree mgree added the enhancement New feature or request label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant