Comment on JS performance: try / catch versus checking for undefined Comments−quink14yComing from the Python ecosystem, I am utterly horrified by those results. In fact, I thought the graphs were broken until I got to IE10.−jerf14yYes, but remember that Python exceptions are cheap not because they are cheap, but because you are paying for them on every statement anyhow, so you might as well use them.
Comments
Coming from the Python ecosystem, I am utterly horrified by those results. In fact, I thought the graphs were broken until I got to IE10.
Yes, but remember that Python exceptions are cheap not because they are cheap, but because you are paying for them on every statement anyhow, so you might as well use them.