diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-02-14 07:49:25 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-02-14 07:49:25 +0000 |
commit | 339f5e3ffc4d1005020ffc2fc85fcc618c7461fa (patch) | |
tree | 8b8b870c2217513f3209fe6ad202a034b9ae4726 /Python/errors.c | |
parent | 1c214d6c942df3fc7af548f7c7e10961dcaba3ee (diff) | |
download | cpython-git-339f5e3ffc4d1005020ffc2fc85fcc618c7461fa.tar.gz |
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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions