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

Streaming output from Stringify #36

Open
divyekapoor opened this issue May 10, 2017 · 0 comments
Open

Streaming output from Stringify #36

divyekapoor opened this issue May 10, 2017 · 0 comments

Comments

@divyekapoor
Copy link

I'm trying to process a JSON datastructure with ~hundred Gigs of data (larger than RAM).

Stringify produces an in-memory representation of the entire JSON before returning the wstring, leading to a bunch of memory waste. If possible, would you consider changing it to support direct output to an ostream?

(Then Stringify is just concat to a stringstream)

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

No branches or pull requests

1 participant