about summary refs log tree commit diff
path: root/src/test/run-make-fulldeps/coverage/generics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-15 06:32:10 +0000
committerbors <bors@rust-lang.org>2020-12-15 06:32:10 +0000
commite261649593cf9c2707f7b30a61c46c4469c67ebb (patch)
tree4532de1ee4809a9894d5234f1767ed14ed296f44 /src/test/run-make-fulldeps/coverage/generics.rs
parente1cce06e4ff5206daf397e1dcf91ed53653be171 (diff)
parent76bd14548910a13049b59b14e09a80cfd3a29b77 (diff)
downloadrust-e261649593cf9c2707f7b30a61c46c4469c67ebb.tar.gz
rust-e261649593cf9c2707f7b30a61c46c4469c67ebb.zip
Auto merge of #78682 - glandium:issue78471, r=lcnr
Do not inline finish_grow

Fixes #78471.

Looking at libgkrust.a in Firefox, the sizes for the `gkrust.*.o` file is:
- 18584816 (text) 582418 (data) with unmodified master
- 17937659 (text) 582554 (data) with #72227 reverted
- 17968228 (text) 582858 (data) with `#[inline(never)]` on `grow_amortized` and `grow_exact`, but that has some performance consequences
- 17927760 (text) 582322 (data) with this change

So in terms of size, at least in the case of Firefox, this patch more than undoes the regression. I don't think it should affect performance, but we'll see.
Diffstat (limited to 'src/test/run-make-fulldeps/coverage/generics.rs')
0 files changed, 0 insertions, 0 deletions