about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-06-16 06:22:52 +0000
committerbors <bors@rust-lang.org>2020-06-16 06:22:52 +0000
commitc8a9c340de32cb70c8bad8af1a4474f805c5a969 (patch)
treebf4dcf744636576c34c3ebb13d5908e42a3f93f5 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentf315c35a77e40bd11ce81fedc0556be0f410bbf4 (diff)
parentea668d9c548d4490ae9e8ea9b4e8942bae02a8fe (diff)
downloadrust-c8a9c340de32cb70c8bad8af1a4474f805c5a969.tar.gz
rust-c8a9c340de32cb70c8bad8af1a4474f805c5a969.zip
Auto merge of #72962 - lcnr:ObligationCause-lrc, r=ecstatic-morse
store `ObligationCause` on the heap

Stores `ObligationCause` on the heap using an `Rc`.

This PR trades off some transient memory allocations to reduce the size of–and thus the number of instructions required to memcpy–a few widely used data structures in trait solving.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions