• A
    Change TraitRef subtyping checks to equality · 612d001d
    Aaron Turon 提交于
    Trait references are always invariant, so all uses of subtyping between
    them are equivalent to using equality.
    
    Moreover, the overlap check was previously performed twice per impl
    pair, once in each direction. It is now performed only once, and
    internally uses the equality check.
    
    On glium, a crate that spends some time in coherence, this change sped
    up coherence checking by a few percent (not very significant).
    612d001d
select.rs 124.5 KB