I recall seeing a v8 dev talking about how try-catch prevents certain types 
of optimisations on the code it contains, and I notice that for many sites 
(coming from nodejs perspective) V8 can spend a lot of time in JSON.parse… 
and because it throws if it comes across some malformed JSON, you always 
have to have the thing inside a try/catch… therefore always suffering from 
not being able to optimise due to try catch. 

Is that a valid concern? 

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to