[cfe-commits] RFC - Fix std::hash bugs and remove reinterpret_cast<>

John McCall rjmccall at apple.com
Fri Dec 2 14:58:25 PST 2011


On Dec 2, 2011, at 2:41 PM, Chandler Carruth wrote:
> On Fri, Dec 2, 2011 at 2:26 PM, John McCall <rjmccall at apple.com> wrote:
> I understand that true C portability is hard, but I'm sure we can do better than this.
> 
> I suspect all of this complexity would evaporate through use of memcpy to read X bytes out of the input, and xor-ing those read values in a loop....

I'm sure we can do better than that, as well. :)

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111202/aedf9efb/attachment.html>


More information about the cfe-commits mailing list