This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients christian.heimes, gregory.p.smith, jcea, mark.dickinson, pitrou, serhiy.storchaka, skrah, tim.peters
Date 2012-11-11.08:50:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352623820.34.0.371115175574.issue16427@psf.upfronthosting.co.za>
In-reply-to
Content
> The patch is too optimistic, it gives different results depending on the alignment of the memory buffer:

So this method is not applicable for a byte.  Here is a patch only for strings.

If a fast hash for bytes/memoryview is desirable, I can write a fast robust implementation for nonaligned data.  But this will be more cumbersome and a bit slower.
History
Date User Action Args
2012-11-11 08:50:20serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, gregory.p.smith, jcea, mark.dickinson, pitrou, christian.heimes, skrah
2012-11-11 08:50:20serhiy.storchakasetmessageid: <1352623820.34.0.371115175574.issue16427@psf.upfronthosting.co.za>
2012-11-11 08:50:20serhiy.storchakalinkissue16427 messages
2012-11-11 08:50:20serhiy.storchakacreate