commit | 339f5e3ffc4d1005020ffc2fc85fcc618c7461fa | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@gmail.com> | Thu Feb 14 07:49:25 2008 +0000 |
committer | Jeffrey Yasskin <jyasskin@gmail.com> | Thu Feb 14 07:49:25 2008 +0000 |
tree | 8b8b870c2217513f3209fe6ad202a034b9ae4726 | |
parent | 1c214d6c942df3fc7af548f7c7e10961dcaba3ee [diff] |
Change simple instances (in Fraction) of self.numerator and self.denominator to self._numerator and self._denominator. This speeds abs() up from 12.2us to 10.8us and trunc() from 2.07us to 1.11us. This doesn't change _add and friends because they're more complicated.