[swift-evolution] It's the little things..
hooman at mac.com
Wed Dec 14 13:28:01 CST 2016
> On Dec 14, 2016, at 11:08 AM, David Sweeris via swift-evolution <swift-evolution at swift.org> wrote:
> I'll be curious as to how they propose we prevent collisions between Optional<T>.none.hashValue and any given T's hash value.
It is a hash, collision is fine. It is just a single value. I guess a hashValue of zero works well for `nil`.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution