summaryrefslogtreecommitdiffstats
path: root/Modules/gdbmmodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-07-13 02:59:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-07-13 02:59:26 (GMT)
commitfad225f1ba5df5f22328ea5648d1e3d2aa919479 (patch)
treef986a328a9bcbbae5294caeac37e43f7586458c2 /Modules/gdbmmodule.c
parenta3253d70bc4a1446f2b088ed9cdc821e75faaf96 (diff)
downloadcpython-fad225f1ba5df5f22328ea5648d1e3d2aa919479.zip
cpython-fad225f1ba5df5f22328ea5648d1e3d2aa919479.tar.gz
cpython-fad225f1ba5df5f22328ea5648d1e3d2aa919479.tar.bz2
long_format(): Easy speedup for output bases that aren't a power of 2 (in
particular, str(long) and repr(long) use base 10, and that gets a factor of 4 speedup). Another factor of 2 can be gotten by refactoring divrem1 to support in-place division, but that started getting messy so I'm leaving that out.
Diffstat (limited to 'Modules/gdbmmodule.c')
0 files changed, 0 insertions, 0 deletions