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 float printing #88

Closed
wants to merge 2 commits into from
Closed

Speed up float printing #88

wants to merge 2 commits into from

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jun 27, 2016

The floating point parts of #86 which need to wait until 0.8.

@dtolnay dtolnay added this to the v0.8.0 milestone Jun 27, 2016
@dtolnay dtolnay mentioned this pull request Jun 28, 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).
@dtolnay dtolnay closed this Jun 29, 2016
@dtolnay dtolnay deleted the dtoa branch June 29, 2016 03:40
@dtolnay
Copy link
Member Author

dtolnay commented Jun 29, 2016

I pushed this to a v0.8.0-rc branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant