diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-06-14 04:56:19 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-06-14 04:56:19 +0000 |
commit | ce9de2f79a8676d6838e446cc72a9ab0a7b6cded (patch) | |
tree | f571266bc6a330add10799f7d0a03ab67bdab59b /Python/dynload_beos.c | |
parent | ff70d3c8d43b3ddcd4271b662dc0a029b22bd51a (diff) | |
download | cpython-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