> On Jun 23, 2016, at 2:23 AM, Félix Cloutier via swift-evolution > <[email protected]> wrote: > > What is the cost of heterogeneous comparison?
Smaller-than-wordsize comparisons will fall out for free in most cases. For word size and larger types, there’s one extra test in some cases, but the (very small) added cost is vastly preferable to people rolling their own workarounds and getting it wrong. – Steve _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
