That's a naive way of looking at things. JSON.parse is slower in Node not due to the parser itself, but due to constructing objects. So yes you could parse in C++, but your object access would be hundreds of times slower.
On Tue, May 26, 2015 at 7:11 PM, Ω Alisson <[email protected]> wrote: > https://github.com/kostya/benchmarks/tree/master/json > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CACZE8Y5TzyQp%2BYUmY5HFzHyCemh%3DS8-LkP%3DZ2yNRxxvxwO0zGQ%40mail.gmail.com > <https://groups.google.com/d/msgid/nodejs/CACZE8Y5TzyQp%2BYUmY5HFzHyCemh%3DS8-LkP%3DZ2yNRxxvxwO0zGQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAPJ5V2bmMGCyz_c8L59e0JyKgTc32NSB_C%2BZrj9BsE9r%2BPUiZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
