Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid throw/catch in Number.== #1188

Merged
merged 1 commit into from Jan 11, 2021
Merged

Avoid throw/catch in Number.== #1188

merged 1 commit into from Jan 11, 2021

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Jan 9, 2021

Throwing and catching exceptions is expensive. Testing this on one
user's number-heavy codebase resulted in a 2x speed improvement.

Throwing and catching exceptions is expensive. Testing this on one
user's number-heavy codebase resulted in a 2x speed improvement.
@nex3 nex3 requested a review from jathak January 9, 2021 02:24
@nex3 nex3 merged commit 66cb55c into master Jan 11, 2021
@nex3 nex3 deleted the number-equals branch January 11, 2021 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants