<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 21, 2012, at 1:04 AM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: arial, helvetica, sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">The hash function should never be relied on to be deterministic. One of these days I'm going to have the stones to flip a switch and the hash function will produce different values on each execution with high probability.</div></blockquote></div><br><div>Why?! Nondeterministic behavior is notoriously hard to track down, why would you want to add more of it?</div><div><br></div><div>You would be adding bugs where one in 20 compilations of the same source produces different output. Buildbots aren't going to help you find the offending commit.</div><div><br></div><div>/jakob</div><div><br></div></body></html>