Reviver is a bit of a killer feature for async parsing because it imposes a
callback on every key. It makes it difficult to efficiently offload parsing
to a worker thread. Without it, feed entries could be parsed and
materialized safely (provided GC allows it) in a separate thread and then
emitted to the main JS thread.

In our "big JSON feeds" scenarios we never use revivers, and actually I'm
not sure we even use them on small JSON payloads.

Is this feature really necessary in an async/incremental API variant?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to