summaryrefslogtreecommitdiff
path: root/Python/dynload_beos.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-14 04:56:19 +0000
committerTim Peters <tim.peters@gmail.com>2001-06-14 04:56:19 +0000
commitce9de2f79a8676d6838e446cc72a9ab0a7b6cded (patch)
treef571266bc6a330add10799f7d0a03ab67bdab59b /Python/dynload_beos.c
parentff70d3c8d43b3ddcd4271b662dc0a029b22bd51a (diff)
downloadcpython-git-ce9de2f79a8676d6838e446cc72a9ab0a7b6cded.tar.gz
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/dynload_beos.c')
0 files changed, 0 insertions, 0 deletions