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

Speed up integer printing #87

Merged
merged 1 commit into from
Jun 27, 2016
Merged

Speed up integer printing #87

merged 1 commit into from
Jun 27, 2016

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jun 27, 2016

Just the non-user-visible integer part of #86. The floating-point part needs to wait until 0.8.

@dtolnay dtolnay merged commit 0d1e16b into serde-rs:master Jun 27, 2016
@dtolnay dtolnay deleted the just-itoa branch June 27, 2016 15:32
This was referenced Jun 27, 2016
homu added a commit that referenced this pull request Jun 28, 2016
Speed up string printing

I am working on porting [this benchmark](https://github.com/miloyip/nativejson-benchmark#stringify-time) to Rust. This change makes about 20-30% difference in citm_catalog.json and twitter.json which are heavy on strings.

Side note: together with #87 and #88 this brings us within 10% of RapidJSON which is the fastest C/C++ implementation (as measured by that benchmark).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant