commit | 40f9735486a847130eb52185659a278cf369bb9e | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Sep 24 08:37:55 2014 +0200 |
committer | Georg Brandl <georg@python.org> | Wed Sep 24 08:37:55 2014 +0200 |
tree | 75849d9408b3b2876c00d242b19ef4f224976a5b | |
parent | 02d39c24c44224e94cb1bd65be1b6498b363fd78 [diff] |
#22464: Speed up common Fraction operations by special-casing several operations for int-type arguments: constructor and equality test. Also avoid redundant property lookups in addition and subtraction.