commit | aa2adc828a0583ee472d42a3b6a8964c822c7ee2 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Wed Sep 16 22:10:56 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Wed Sep 16 22:10:56 2009 +0000 |
tree | 48a90588c2477d91722480efaae8325b4c5919c7 | |
parent | 2920adb4df51e7c3c10f9671087037888f010483 [diff] |
Issue #6713: Improve performance of str(n) and repr(n) for integers n (up to 3.1 times faster in tests), by special-casing base 10 in _PyLong_Format. (Backport of r74851 from py3k.)