diff options
| author | kennytm <kennytm@gmail.com> | 2018-11-13 13:03:20 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-11-13 19:20:53 +0800 |
| commit | 675c95c7b80081978618f3b8f5e0f6b053478a63 (patch) | |
| tree | 070c58d2ab66079f8cd8bcd83549d2b119c39ce8 /src/rustllvm/RustWrapper.cpp | |
| parent | a2774354eee5453aab476aab68feaa520884e25b (diff) | |
| parent | 4fdae853f70d9bbdf4dbc365743f6545cfd4a9ac (diff) | |
| download | rust-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
