commit | 0e640260dac2db081e56f52f8efb0e43e463ff2f | [log] [tgz] |
---|---|---|
author | Sergey B Kirpichev <skirpichev@gmail.com> | Fri Jan 06 18:37:34 2023 +0300 |
committer | GitHub <noreply@github.com> | Fri Jan 06 15:37:34 2023 +0000 |
tree | 529853d3506d63aeb8771f87420f9f1e76485e31 | |
parent | 15c44789bb125b93e96815a336ec73423c47508e [diff] |
gh-91851: Trivial optimizations in Fraction (#100791) Make some trivial performance optimizations in Fraction Uses private class attributes `_numerator` and `_denominator` in place of the `numerator` and `denominator` property accesses. Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>