]> granicus.if.org Git - python/commit
long(string, base) now takes time linear in len(string) when base is a
authorTim Peters <tim.peters@gmail.com>
Sun, 2 Feb 2003 07:51:32 +0000 (07:51 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 2 Feb 2003 07:51:32 +0000 (07:51 +0000)
commitbf2674be0e95787cdeb154091b7377e30b2827bf
tree05ccb3b212ff3027587b948678959f7b6ca61546
parent06dd8cf5e4100303714f9e3f72b3c52330fdd51c
long(string, base) now takes time linear in len(string) when base is a
power of 2.  Enabled the tail end of test_long() in pickletester.py
because it no longer takes forever when run from test_pickle.py.
Lib/pickle.py
Lib/test/pickletester.py
Misc/NEWS
Objects/longobject.c