Thank you developers for 2.3

Nicola Mingotti nicola-mingotti_NO_spam at libero.it
Wed Jul 30 09:50:42 CEST 2003


On Wed, 30 Jul 2003 08:21:09 +0200, Tino Lange wrote:

> On Wed, 30 Jul 2003 05:35:02 GMT, David Lees
> <abcdebl2nonspammy at verizon.net> wrote:
> 
>> ....
>>2.3      5.04 sec
>>version 2.2.3    9.77 sec

> ...
> By the way: What was/is the speed with 2.1.x on the same system?
> 

On 2.1.3 speedTest doesn't work . It gives OverflowError: integer
addition . It 's because in that version integer aren't converted
into Long Int when necessary . 

...
    t1 = time.time()
    k = 0L
...
    for j in xrange(n):
        for i in xrange(n):
            k += i + j
    t1 = time.time()
    return t1 - t0




More information about the Python-list mailing list