diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-07-13 02:59:26 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-07-13 02:59:26 (GMT) |
commit | fad225f1ba5df5f22328ea5648d1e3d2aa919479 (patch) | |
tree | f986a328a9bcbbae5294caeac37e43f7586458c2 /Modules/gdbmmodule.c | |
parent | a3253d70bc4a1446f2b088ed9cdc821e75faaf96 (diff) | |
download | cpython-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