As shown in #193, turns out, creating the stack trace needlessly is very, very taxing performance wise. With this PR, that is only done IF we're in a browser environment without Error.captureStackTrace.
Also, changes some string arrays to sets, as it helps keep code cleaner and removes some if checks
As shown in #193, turns out, creating the stack trace needlessly is very, very taxing performance wise. With this PR, that is only done IF we're in a browser environment without
Error.captureStackTrace
.Also, changes some string arrays to sets, as it helps keep code cleaner and removes some if checks