Re: [Python-Dev] to_int -- oops, one step missing for use.

2005-11-12 Thread jepler
$ python2.4 -c 'import sys; print sys.maxint, sys.maxint == (1<<63) - 1' 9223372036854775807 True $ python2.4 test_hi_powers.py Test 0.2 of to_int 0.16 .. -- Ran

Re: [Python-Dev] to_int -- oops, one step missing for use.

2005-11-12 Thread Scott David Daniels
OK, Tim and I corresponded off-list (after that Aahz graciously suggested direct mail). The code I have is still stand-alone, but I get good speeds: 60% - 70% of the speed of int(string, base). It will take a little bit to figure out how it best belongs in the Python sources, so don't look for an