Status: New
Owner: ----

New issue 3395 by [email protected]: V8 JSON.Parse performance optimizations
http://code.google.com/p/v8/issues/detail?id=3395

I think it would be better, if JSON.Parse has a second optional parameter, like a 'noExceptions' (by default false) and returns null, if input string is incorrect. In my tests check for null runs more faster than try-catch construction.

/* I am only 'user' of node, not c/c++ programmer. */

For tests I commented throwing exception on parsing and "return factory()->null_value();" in the '\v8\src\json-parser.h' and build an node.js sources.

Thank you for good product and I hope, this modification of JSON.Parse will be included in release builds.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to