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

don't create intermediate string while creating json (rustdoc) #10721

Merged
merged 1 commit into from
Dec 6, 2013

Conversation

osa1
Copy link
Contributor

@osa1 osa1 commented Nov 29, 2013

as recommended by @huonw on this PR #10711 , I removed intermediate step that generates a string instead of directly writing to Writer without generating intermediate string.

@alexcrichton
Copy link
Member

Out of curiosity, can you time how long it would take to emit the JSON version of libstd's documentation? I'm skeptical that it'd be efficient at all (it may need a layer of a buffered writer to be reasonable).

bors added a commit that referenced this pull request Dec 6, 2013
as recommended by @huonw on this PR #10711 , I removed intermediate step that generates a string instead of directly writing to Writer without generating intermediate string.
@bors bors closed this Dec 6, 2013
@bors bors merged commit bc42358 into rust-lang:master Dec 6, 2013
@osa1 osa1 deleted the intermediatestr branch March 2, 2021 07:02
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.

4 participants