4 ms·
Don't think would affect performance. The core function `wrap` is just try catch under the hood. https://github.com/musicq/unwrapit/blob/d5c437a235ad1f5ad042a1
by musicq 3y ago
Don't think would affect performance. The core function `wrap` is just try catch under the hood.
https://github.com/musicq/unwrapit/blob/d5c437a235ad1f5ad042a18e6f04ae90e3fc1d28/src/result.ts#L159-L184 https://github.com/musicq/unwrapit/blob/d5c437a235ad1f5ad042...
- optimistprime 3y agoiirc, try catch does have performance impact in js.