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

Large JSON question #189

Open
hrdwdmrbl opened this issue Apr 24, 2019 · 1 comment
Open

Large JSON question #189

hrdwdmrbl opened this issue Apr 24, 2019 · 1 comment
Labels

Comments

@hrdwdmrbl
Copy link

hrdwdmrbl commented Apr 24, 2019

I'm interesting in parsing very large stringified JSON strings (up to 2GB). I have the string in memory, but the problem I have is that JSON.parse takes too long to do the parsing. So I'm looking at solutions like oboe.js to progressively parse. What I'm wondering is whether oboe blocks while parsing? Does it ever use setImmediate or yield or something like that so that the node event-loop can run something else and then come back to oboe?

@Aigeec
Copy link
Collaborator

Aigeec commented Nov 3, 2019

It probably should if it doesn't. Will confirm.

@Aigeec Aigeec added the question label Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants