]> granicus.if.org Git - python/commit
Issue #6713: Improve performance of str(n) and repr(n) for integers n
authorMark Dickinson <dickinsm@gmail.com>
Wed, 16 Sep 2009 21:23:34 +0000 (21:23 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 16 Sep 2009 21:23:34 +0000 (21:23 +0000)
commit0a1efd0e4ce407b32854cfb8838ffbcf2a32481c
tree414fdb03e6f2968fd2bca2d42a0610addc61ebf2
parent3360401980429e71aaf1a6d304451b3771900394
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.
Include/longintrepr.h
Misc/NEWS
Objects/longobject.c