Message175330
> 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. |
|
Date |
User |
Action |
Args |
2012-11-11 08:50:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, gregory.p.smith, jcea, mark.dickinson, pitrou, christian.heimes, skrah |
2012-11-11 08:50:20 | serhiy.storchaka | set | messageid: <1352623820.34.0.371115175574.issue16427@psf.upfronthosting.co.za> |
2012-11-11 08:50:20 | serhiy.storchaka | link | issue16427 messages |
2012-11-11 08:50:20 | serhiy.storchaka | create | |
|