[Python-Dev] Pie-thon benchmarks

Michael Hudson mwh at python.net
Mon Dec 15 05:14:17 EST 2003


Guido van Rossum <guido at python.org> writes:

>> If you want a benchmark to make CPython look good, do a few hundred
>> thousand very-long int multiplications, stick 'em in a list, and
>> sort it <wink>.
>
> Ah, but then Dan will just add Karatsuba multiplication to Parrot,
> too.  And AFAIK, Timsort isn't patented. :-)

If something important -- like a pieing <wink> -- depends on it, and
the ints are long enough, it's not that hard to do better than
Karatsuba multiplication...

Cheers,
mwh

-- 
  A.D. 1517: Martin Luther nails his 95 Theses to the church door and
             is promptly moderated down to (-1, Flamebait).
        -- http://slashdot.org/comments.pl?sid=01/02/09/1815221&cid=52
                                        (although I've seen it before)



More information about the Python-Dev mailing list