about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-24 19:46:59 +0000
committerbors <bors@rust-lang.org>2015-11-24 19:46:59 +0000
commit2a0ce4a62954ad30f37d67f1c47b1a6978fc6bc4 (patch)
tree3b88fec4c57746bc82b6256580013c986e6df28d /src/liballoc_jemalloc
parent1004860dd42632733d985bbf23bd12d0fd23badb (diff)
parent612d001d74cf9e70e0dd9e8eaca73f33c7ea8c0e (diff)
downloadrust-2a0ce4a62954ad30f37d67f1c47b1a6978fc6bc4.tar.gz
rust-2a0ce4a62954ad30f37d67f1c47b1a6978fc6bc4.zip
Auto merge of #29960 - aturon:dismantle-traitref-subtyping, r=nikomatsakis
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).

r? @nikomatsakis
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions