-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Add a minor Fraction.__hash__()
optimization
#15313
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
Conversation
Document the optimizations.
Fraction.__hash__()
optimization
Replacing the explicit mod with another call to
|
2a7e519
to
8beb39c
Compare
* Add a minor `Fraction.__hash__` optimization that got lost in the shuffle. Document the optimizations.
* Add a minor `Fraction.__hash__` optimization that got lost in the shuffle. Document the optimizations.
* Add a minor `Fraction.__hash__` optimization that got lost in the shuffle. Document the optimizations.
Add a minor
Fraction.__hash__()
optimization that got lost in the shuffle.Document the optimizations.