In Swift 4.0 structs whose stored properties are all
Hashable compiler provides the synthesized implementation of `hashValue`. How does it implemented? What hash function it uses? Where can I find this information by myself (I know that Swift is open-source)?
Ok, so the answer I got there (https://forums.swift.org/t/how-is-synthesized-hashable-implemented/15960?u=kelin) is: SipHash-1-3 for Swift 4.2. I asked this question becasue I wanted to make my own hash implementation and I think using the same function as the default one would be a good solution.