Message201564
| Author |
christian.heimes |
| Recipients |
christian.heimes, ncoghlan, neologix, pitrou, python-dev, serhiy.storchaka |
| Date |
2013年10月28日.18:08:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1382983701.95.0.0256937531954.issue19183@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The code in your example uses volatile. That prevents lots of compiler optimizations. In my experience compilers and CPU do a better optimization job than humans until the human factor interferes with the compiler. Even 40% might not be slower than calling memcpy() for every block or processing the input byte by byte instead of uint64 by uint64...
I can't comment on ARM and Barry's ARM box is dead at the moment. Distributors or users can select different and more ARM-friendly code, too. After all the hash code is easily interchangeable. :) |
|