]> granicus.if.org Git - python/commit
divrem1 & long_format: found a clean way to factor divrem1 so that
authorTim Peters <tim.peters@gmail.com>
Sat, 14 Jul 2001 12:23:19 +0000 (12:23 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 14 Jul 2001 12:23:19 +0000 (12:23 +0000)
commit212e614f604af14465bde8a8d5a7419b0924be7f
tree2fbad07a115b673d500bc4a662e01e57ca89c286
parentc8a6b9b6d67c4bf343f3771fcae0002160066fe3
divrem1 & long_format:  found a clean way to factor divrem1 so that
long_format can reuse a scratch area for its repeated divisions (instead
of malloc/free for every digit produced); speeds str(long)/repr(long).
Objects/longobject.c