about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-11-13 13:03:20 +0800
committerkennytm <kennytm@gmail.com>2018-11-13 19:20:53 +0800
commit675c95c7b80081978618f3b8f5e0f6b053478a63 (patch)
tree070c58d2ab66079f8cd8bcd83549d2b119c39ce8 /src/rustllvm/RustWrapper.cpp
parenta2774354eee5453aab476aab68feaa520884e25b (diff)
parent4fdae853f70d9bbdf4dbc365743f6545cfd4a9ac (diff)
downloadrust-675c95c7b80081978618f3b8f5e0f6b053478a63.tar.gz
rust-675c95c7b80081978618f3b8f5e0f6b053478a63.zip
Rollup merge of #55882 - hugwijst:rc_return_crate_inherent_impls, r=Mark-Simulacrum
Reference count `crate_inherent_impls`s return value.

The repeated cloning of the result in `inherent_impls` queries has quite
an impact on crates with many inherent trait implementations.

For instance on https://github.com/jmesmon/stm32f429, `cargo check` went from 75 seconds to 38 seconds on my machine.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions