[Python-Dev] The ultimate question of life, the universe, and everything

"Martin v. Löwis" martin at v.loewis.de
Wed Feb 22 19:55:33 CET 2012


Am 22.02.2012 19:46, schrieb Maciej Fijalkowski:
> On Wed, Feb 22, 2012 at 9:59 AM,  <martin at v.loewis.de> wrote:
>> What is the hash of "ePjNTUhitHkL"?
>>
>> Regards,
>> Martin
>>
>> P.S. It took me roughly 86h to compute 150 strings colliding for the 64-bit
>> hash function.
> 
> You should have used pypy, should have been faster.

It was actually a C program - I doubt PyPy would have been faster.
Perhaps my algorithm wasn't good enough if you think this is slow.

Regards,
Martin


More information about the Python-Dev mailing list