summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-14 04:56:19 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-06-14 04:56:19 (GMT)
commitce9de2f79a8676d6838e446cc72a9ab0a7b6cded (patch)
treef571266bc6a330add10799f7d0a03ab67bdab59b /Python/import.c
parentff70d3c8d43b3ddcd4271b662dc0a029b22bd51a (diff)
downloadcpython-ce9de2f79a8676d6838e446cc72a9ab0a7b6cded.zip
cpython-ce9de2f79a8676d6838e446cc72a9ab0a7b6cded.tar.gz
cpython-ce9de2f79a8676d6838e446cc72a9ab0a7b6cded.tar.bz2
PyLong_From{Unsigned,}Long: count the # of digits first, so no more space
is allocated than needed (used to allocate 80 bytes of digit space no matter how small the long input). This also runs faster, at least on 32- bit boxes.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions