Re: [whatwg/url] Proposal: URL.isValid (Issue #713)

It's not clear to me solving this at the level of a new API is the best idea. Wouldn't it be better to make `try / catch` faster? In particular, if you use `catch { }` instead of `catch (e) { }`, that should be a reliable signal to the engine that there's no need to construct a stack, which is apparently expensive (benchmarks pending).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/713#issuecomment-1305305503
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/713/1305305503@github.com>

Received on Monday, 7 November 2022 09:11:24 UTC