Novaleaf / xlib

Your isomorphic toolbox
MIT License
20 stars 1 forks source link

async version of jsonx stringify+parse #11

Closed jasonswearingen closed 5 years ago

jasonswearingen commented 5 years ago

json.stringify()/parse() speed is dependent on input complexity. jsonx is the same, but as usercode is slower.

however as we hold the source, we can promiseify and defer execution

consider doing this, however if node v12 comes out before hand, consider just doing #9 instead.

jasonswearingen commented 5 years ago

better to just use workers (node 12)