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?
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 usesetImmediate
oryield
or something like that so that the node event-loop can run something else and then come back to oboe?