http://jsfiddle.net/G83mW/14/ is an interesting testcase. Low-overhead try/catch is possible, but not all browsers seem to do it.
@mconnor What influenced our thinking here were real-life websites that had try/catch in them, not benchmarks.
-
-
@bz_moz enough that this micro-benchmark matters? Interesting, I wouldn't have predicted that, but data > anecdote! -
@mconnor Used to be try/catch couldn't run in Ion, so any function containing it was slow. Even if the try-catch wasn't in the hot code. - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.